Annotation of /trunk/core/wireless-tools/wireless-tools-30_pre8-r2.smage2
Parent Directory | Revision Log
Revision 3158 -
(hide annotations)
(download)
Tue Oct 13 22:45:42 2009 UTC (14 years, 11 months ago) by niro
File size: 1105 byte(s)
Tue Oct 13 22:45:42 2009 UTC (14 years, 11 months ago) by niro
File size: 1105 byte(s)
auto added: ver bump to 30_pre8-r2
1 | niro | 3158 | # $Id$ |
2 | |||
3 | PNAME="wireless-tools" | ||
4 | PVER="30_pre8" | ||
5 | PBUILD="r2" | ||
6 | |||
7 | PCATEGORIE="net-wlan" | ||
8 | STATE="unstable" | ||
9 | |||
10 | DESCRIPTION="Utils to configure wireless-lan cards." | ||
11 | HOMEPAGE="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/" | ||
12 | |||
13 | DEPEND=">= virtual/glibc" | ||
14 | SDEPEND=">= sys-apps/sed-4" | ||
15 | |||
16 | SRCFILE="${PNAME/-/_}.${PVER/_/.}.tar.gz" | ||
17 | SRCDIR="${BUILDDIR}/${PNAME/-/_}.${PVER/_pre*/}" | ||
18 | |||
19 | SRC_URI=( | ||
20 | http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/${SRCFILE} | ||
21 | mirror://${PNAME}/${SRCFILE} | ||
22 | ) | ||
23 | |||
24 | UP2DATE="updatecmd ${HOMEPAGE}/Tools.html | grep 'Wireless Tools.*beta' | sed 's/.*\[.*\].* \(.*\) .*/\1/;s/-/_/'" | ||
25 | |||
26 | src_prepare() | ||
27 | { | ||
28 | munpack ${SRCFILE} || die | ||
29 | cd ${SRCDIR} | ||
30 | |||
31 | # fore use of our CFLAGS | ||
32 | sed -i "s:^CFLAGS=:CFLAGS=${CFLAGS} :" Makefile || die | ||
33 | |||
34 | # fix man path | ||
35 | sed -i "s:^\(INSTALL_MAN= \$(PREFIX)\)/man/:\1/share/man:" Makefile || die | ||
36 | |||
37 | # honor mlibdir() | ||
38 | sed -i "s:^\(INSTALL_LIB= \$(PREFIX)\)/lib/:\1/$(mlibdir):" Makefile || die | ||
39 | } | ||
40 | |||
41 | src_compile() | ||
42 | { | ||
43 | cd ${SRCDIR} | ||
44 | mmake CC=gcc || die | ||
45 | } | ||
46 | |||
47 | src_install() | ||
48 | { | ||
49 | cd ${SRCDIR} | ||
50 | mmake PREFIX=${BINDIR}/usr install || die | ||
51 | minstalldocs CHANGELOG* COPYING *.txt README* || die | ||
52 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |