Magellan Linux

Contents of /branches/R11-unstable/core/rfkill/rfkill-0.5-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32104 - (show annotations) (download)
Mon Apr 29 11:38:48 2019 UTC (5 years ago) by niro
File size: 705 byte(s)
-release branches/R11-unstable
1 # $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}/ | highesttarball 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 }