2009-11-30 21:05:10 +00:00
|
|
|
# Template file for 'wireless_tools'
|
|
|
|
pkgname=wireless_tools
|
|
|
|
version=29
|
2014-06-05 09:49:22 +00:00
|
|
|
revision=6
|
2009-11-30 21:05:10 +00:00
|
|
|
wrksrc="${pkgname}.${version}"
|
|
|
|
short_desc="Set of tools allowing to manipulate the Wireless Extensions"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-02-16 09:31:34 +00:00
|
|
|
homepage="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html"
|
|
|
|
license="GPL-2"
|
|
|
|
distfiles="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/$pkgname.$version.tar.gz"
|
2009-11-30 21:05:10 +00:00
|
|
|
checksum=6fb80935fe208538131ce2c4178221bab1078a1656306bce8909c19887e2e5a1
|
2013-02-16 09:31:34 +00:00
|
|
|
|
|
|
|
do_build() {
|
|
|
|
sed -e "s|CFLAGS=|CFLAGS+=|g" -i Makefile
|
2013-05-26 08:41:55 +00:00
|
|
|
make CC="$CC" LD="$LD" AR="$AR" RANLIB="$RANLIB" ${makejobs}
|
2013-02-16 09:31:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
make INSTALL_DIR=${DESTDIR}/usr/sbin INSTALL_LIB=${DESTDIR}/usr/lib \
|
|
|
|
INSTALL_INC=${DESTDIR}/usr/include \
|
|
|
|
INSTALL_MAN=${DESTDIR}/usr/share/man install
|
|
|
|
}
|
2013-04-14 15:36:49 +00:00
|
|
|
|
|
|
|
wireless_tools-devel_package() {
|
2014-06-05 09:49:22 +00:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2013-05-26 08:41:55 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 15:36:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
2014-06-05 09:49:22 +00:00
|
|
|
vmove usr/lib/*.so
|
2013-04-14 15:36:49 +00:00
|
|
|
}
|
|
|
|
}
|