Annotation of /trunk/core/rfkill/rfkill-0.5-r1.smage2
Parent Directory | Revision Log
Revision 29721 -
(hide annotations)
(download)
Tue Oct 10 07:18:31 2017 UTC (6 years, 11 months ago) by niro
File size: 705 byte(s)
Tue Oct 10 07:18:31 2017 UTC (6 years, 11 months ago) by niro
File size: 705 byte(s)
-updated UP2DATE uri
1 | niro | 19545 | # $Id$ |
2 | |||
3 | PNAME="rfkill" | ||
4 | PVER="0.5" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCAT="net-wlan" | ||
8 | |||
9 | DESCRIPTION="A tool for enabling and disabling wireless devices." | ||
10 | HOMEPAGE="http://linuxwireless.org/en/users/Documentation/rfkill" | ||
11 | |||
12 | DEPEND=">= virtual/glibc" | ||
13 | |||
14 | SRCFILE="${PNAME}-${PVER}.tar.bz2" | ||
15 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
16 | |||
17 | SRC_URI=( | ||
18 | https://www.kernel.org/pub/software/network/${PNAME}/${SRCFILE} | ||
19 | mirror://${PNAME}/${SRCFILE} | ||
20 | ) | ||
21 | |||
22 | niro | 29721 | UP2DATE="updatecmd https://www.kernel.org/pub/software/network/${PNAME}/ | highesttarball xz" |
23 | niro | 19545 | |
24 | src_prepare() | ||
25 | { | ||
26 | munpack ${SRCFILE} || die | ||
27 | } | ||
28 | |||
29 | src_compile() | ||
30 | { | ||
31 | cd ${SRCDIR} | ||
32 | mmake || die | ||
33 | } | ||
34 | |||
35 | src_install() | ||
36 | { | ||
37 | cd ${SRCDIR} | ||
38 | mmake PREFIX=${BINDIR}/usr install || die | ||
39 | minstalldocs COPYING README || die | ||
40 | } |