aboutsummaryrefslogtreecommitdiffstats
path: root/main/wireless-tools/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-06 09:04:49 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-06 09:04:49 +0000
commita64778074ee689ba86d0309aeff1e8617d753a41 (patch)
treec1934fa5a7b2ff779b08910ffccd1a25356add0a /main/wireless-tools/APKBUILD
parentff2b34b53a4ff1467ccf7792262317ae8c42a39e (diff)
downloadaports-a64778074ee689ba86d0309aeff1e8617d753a41.tar.bz2
aports-a64778074ee689ba86d0309aeff1e8617d753a41.tar.xz
main/wireless-tools: moved from testing
Diffstat (limited to 'main/wireless-tools/APKBUILD')
-rw-r--r--main/wireless-tools/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/main/wireless-tools/APKBUILD b/main/wireless-tools/APKBUILD
new file mode 100644
index 0000000000..b4c726bd0f
--- /dev/null
+++ b/main/wireless-tools/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Michael Mason <ms13sp@gmail.com>
+# Maintainer:
+pkgname=wireless-tools
+pkgver=29
+pkgrel=1
+pkgdesc="Open Source wireless tools"
+url="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html"
+license="GPL"
+depends=
+makedepends=""
+install=
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/wireless_tools.$pkgver.tar.gz
+ wireless-tools-29-asneeded.patch
+ "
+
+build() {
+ cd "$srcdir/wireless_tools.$pkgver"
+ patch -p1 -i ../wireless-tools-29-asneeded.patch || return 1
+ make || return 1
+}
+
+package() {
+ cd "$srcdir/wireless_tools.$pkgver"
+ make INSTALL_DIR="$pkgdir"/usr/sbin \
+ INSTALL_LIB="$pkgdir"/usr/lib \
+ INSTALL_INC="$pkgdir"/usr/include \
+ INSTALL_MAN="$pkgdir"/usr/share/man install || return 1
+}
+
+md5sums="e06c222e186f7cc013fd272d023710cb wireless_tools.29.tar.gz
+9d979950e6965b31d3d136f570273d23 wireless-tools-29-asneeded.patch"