wireless_tools: add devel subpkg, bumprev.

--HG--
extra : convert_revision : 1519155795e9211062f7b8df5bdca10ee064c623
This commit is contained in:
Juan RP 2009-12-08 17:45:23 +01:00
parent a889473d4c
commit 5631f6bc35
3 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1 @@
wireless_tools

View File

@ -1,6 +1,7 @@
# Template file for 'wireless_tools'
pkgname=wireless_tools
version=29
revision=1
wrksrc="${pkgname}.${version}"
distfiles="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/$pkgname.$version.tar.gz"
build_style=gnu_makefile
@ -18,4 +19,5 @@ long_desc="
you can use with Wireless Extensions, however Wireless Tools is the
reference implementation."
subpackages="$pkgname-devel"
Add_dependency full glibc

View File

@ -0,0 +1,16 @@
# Template file for 'wireless_tools-devel'.
#
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run glibc-devel
Add_dependency run wireless_tools
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib
}