aboutsummaryrefslogtreecommitdiffstats
path: root/main/wireless-tools/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/wireless-tools/APKBUILD')
-rw-r--r--main/wireless-tools/APKBUILD17
1 files changed, 11 insertions, 6 deletions
diff --git a/main/wireless-tools/APKBUILD b/main/wireless-tools/APKBUILD
index 288c8386bc..fbd1c2f790 100644
--- a/main/wireless-tools/APKBUILD
+++ b/main/wireless-tools/APKBUILD
@@ -2,27 +2,28 @@
# Maintainer:
pkgname=wireless-tools
pkgver=29
-pkgrel=4
+pkgrel=5
pkgdesc="Open Source wireless tools"
url="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html"
arch="all"
-license="GPL"
-depends=
+license="GPL2"
+depends=""
makedepends=""
-install=
+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
"
+_builddir="$srcdir"/wireless_tools.$pkgver
build() {
- cd "$srcdir/wireless_tools.$pkgver"
+ cd "$_builddir"
patch -p1 -i ../wireless-tools-29-asneeded.patch || return 1
make || return 1
}
package() {
- cd "$srcdir/wireless_tools.$pkgver"
+ cd "$_builddir"
make INSTALL_DIR="$pkgdir"/usr/sbin \
INSTALL_LIB="$pkgdir"/usr/lib \
INSTALL_INC="$pkgdir"/usr/include \
@@ -31,3 +32,7 @@ package() {
md5sums="e06c222e186f7cc013fd272d023710cb wireless_tools.29.tar.gz
9d979950e6965b31d3d136f570273d23 wireless-tools-29-asneeded.patch"
+sha256sums="6fb80935fe208538131ce2c4178221bab1078a1656306bce8909c19887e2e5a1 wireless_tools.29.tar.gz
+41ab166672833cc030a292160b4e0d13b86fe12b6dbe79f7e8537ae76d402c56 wireless-tools-29-asneeded.patch"
+sha512sums="c169e29d53353e3d65913a5a5ba219752218968b0c036d4bfb25e7f3a9e31fe1e6adfcdbb410116e9c161c99aa3a7314fdc889ba36ba63f002d11ff9dba6974d wireless_tools.29.tar.gz
+1b1d7e0f833fd0f6587f7d175d7d8597c637782bf37b4800e5d8e3c736a0755c0073b8f9876ea75b95be3735116f051ca40dc617818d5b7f8de61a54d66dc48d wireless-tools-29-asneeded.patch"