Contents of /branches/R11-stable/core/rfkill/rfkill-0.4-r1.smage2
Parent Directory | Revision Log
Revision 14921 -
(show annotations)
(download)
Wed Jan 2 09:40:18 2013 UTC (11 years, 5 months ago) by niro
File size: 679 byte(s)
Wed Jan 2 09:40:18 2013 UTC (11 years, 5 months ago) by niro
File size: 679 byte(s)
-release branches/R11-stable
1 | # $Id$ |
2 | |
3 | PNAME="rfkill" |
4 | PVER="0.4" |
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 | http://linuxwireless.org/download/${PNAME}/${SRCFILE} |
19 | mirror://${PNAME}/${SRCFILE} |
20 | ) |
21 | |
22 | UP2DATE="updatecmd http://linuxwireless.org/download/${PNAME}/ | lasttarball" |
23 | |
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 | } |