Annotation of /smage/trunk/core/crda/crda-3.18-r1.smage2
Parent Directory | Revision Log
Revision 8317 -
(hide annotations)
(download)
Thu Jan 14 16:06:56 2016 UTC (8 years, 4 months ago) by niro
File size: 1026 byte(s)
Thu Jan 14 16:06:56 2016 UTC (8 years, 4 months ago) by niro
File size: 1026 byte(s)
auto added: ver bump to 3.18-r1
1 | niro | 8312 | # $Id$ |
2 | |||
3 | PNAME="crda" | ||
4 | PVER="3.18" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCAT="net-wlan" | ||
8 | |||
9 | DESCRIPTION="Central Regulatory Domain Agent for wireless networks." | ||
10 | HOMEPAGE="http://wireless.kernel.org/en/developers/Regulatory/CRDA" | ||
11 | |||
12 | DEPEND=">= dev-libs/libnl3-3.2 | ||
13 | >= app-crypt/libgcrypt-1.6 | ||
14 | >= net-wlan/wireless-regdb-2015" | ||
15 | |||
16 | niro | 8314 | SDEPEND=">= dev-python/m2crypto-0.22 |
17 | >= dev-libs/libnl3-dev-3.2 | ||
18 | >= app-crypt/libgcrypt-dev-1.6" | ||
19 | niro | 8312 | |
20 | niro | 8313 | SRCFILE="${PNAME}-${PVER}.tar.xz" |
21 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_pre*/}" | ||
22 | niro | 8312 | |
23 | sminclude mbuild udev | ||
24 | |||
25 | SRC_URI=( | ||
26 | https://www.kernel.org/pub/software/network/${PNAME}/${SRCFILE} | ||
27 | mirror://${PNAME}/${SRCFILE} | ||
28 | ) | ||
29 | |||
30 | UP2DATE="updatecmd https://www.kernel.org/pub/software/network/${PNAME}/ | highesttarball xz" | ||
31 | |||
32 | src_prepare() | ||
33 | { | ||
34 | munpack ${SRCFILE} || die | ||
35 | cd ${SRCDIR} | ||
36 | |||
37 | } | ||
38 | |||
39 | src_compile() | ||
40 | { | ||
41 | cd ${SRCDIR} | ||
42 | mmake UDEV_RULE_DIR=$(mget-udev-rules-dir) SBINDIR=/usr/sbin || die | ||
43 | } | ||
44 | |||
45 | src_install() | ||
46 | { | ||
47 | cd ${SRCDIR} | ||
48 | mmake DESTDIR=${BINDIR} UDEV_RULE_DIR=$(mget-udev-rules-dir) SBINDIR=/usr/sbin install || die | ||
49 | niro | 8317 | minstalldocs LICENSE README || die |
50 | niro | 8312 | } |