Magellan Linux

Annotation of /trunk/core/rfkill/rfkill-0.5-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 19545 - (hide annotations) (download)
Fri Sep 20 08:45:51 2013 UTC (10 years, 8 months ago) by niro
File size: 702 byte(s)
auto added: ver bump to 0.5-r1
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     UP2DATE="updatecmd https://www.kernel.org/pub/software/network/${PNAME}/ | lasttarball xz"
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     }