Natanael Copa 4ff65ef299 main: mass-rebuild of packages missing arch in .PKGINFO
this is needed for apk-tools-2.1 migration
2011-03-31 13:43:08 +00:00

34 lines
926 B
Plaintext

# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer:
pkgname=wireless-tools
pkgver=29
pkgrel=4
pkgdesc="Open Source wireless tools"
url="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html"
arch="all"
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"