Contents of /smage/trunk/core/crda/crda-3.18-r1.smage2
Parent Directory | Revision Log
Revision 8312 -
(show annotations)
(download)
Thu Jan 14 15:44:36 2016 UTC (8 years, 4 months ago) by niro
File size: 984 byte(s)
Thu Jan 14 15:44:36 2016 UTC (8 years, 4 months ago) by niro
File size: 984 byte(s)
auto added: ver bump to 3.18-r1
1 | # $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 | SDEPEND=">= dev-python/m2crypto-0.22" |
17 | |
18 | SRCFILE="${PNAME}.${PVER}.tar.xz" |
19 | SRCDIR="${BUILDDIR}/${PNAME}.${PVER/_pre*/}" |
20 | |
21 | sminclude mbuild udev |
22 | |
23 | SRC_URI=( |
24 | https://www.kernel.org/pub/software/network/${PNAME}/${SRCFILE} |
25 | mirror://${PNAME}/${SRCFILE} |
26 | ) |
27 | |
28 | UP2DATE="updatecmd https://www.kernel.org/pub/software/network/${PNAME}/ | highesttarball xz" |
29 | |
30 | src_prepare() |
31 | { |
32 | munpack ${SRCFILE} || die |
33 | cd ${SRCDIR} |
34 | |
35 | } |
36 | |
37 | src_compile() |
38 | { |
39 | cd ${SRCDIR} |
40 | mmake UDEV_RULE_DIR=$(mget-udev-rules-dir) SBINDIR=/usr/sbin || die |
41 | } |
42 | |
43 | src_install() |
44 | { |
45 | cd ${SRCDIR} |
46 | mmake DESTDIR=${BINDIR} UDEV_RULE_DIR=$(mget-udev-rules-dir) SBINDIR=/usr/sbin install || die |
47 | minstalldocs CHANGELOG* COPYING *.txt README* || die |
48 | } |