Annotation of /trunk/core/rfkill/rfkill-0.4-r1.smage2
Parent Directory
|
Revision Log
Revision 12257 -
(hide annotations)
(download)
Tue May 15 09:32:38 2012 UTC (12 years, 1 month ago) by niro
File size: 679 byte(s)
Tue May 15 09:32:38 2012 UTC (12 years, 1 month ago) by niro
File size: 679 byte(s)
-added src_prepare
1 | niro | 12256 | # $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 | niro | 12257 | src_prepare() |
25 | { | ||
26 | munpack ${SRCFILE} || die | ||
27 | } | ||
28 | |||
29 | niro | 12256 | 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 | } |