Commit bac0ca7a authored by Francesco Colista's avatar Francesco Colista

community/aircrack-ng: moved from testing, cleaned-up APKBUILD

parent 67da02f7
......@@ -3,38 +3,27 @@
pkgname=aircrack-ng
pkgver=1.2_rc4
_pkgver=${pkgver/_/-}
pkgrel=0
pkgrel=1
pkgdesc="Key cracker for the 802.11 WEP and WPA-PSK protocols"
url="http://www.aircrack-ng.org"
arch="all"
license="GPL2"
depends="ethtool wireless-tools iw sqlite"
depends_dev="openssl-dev sqlite-dev libnl-dev linux-headers pcre-dev
makedepends="coreutils openssl-dev sqlite-dev libnl-dev linux-headers pcre-dev
bsd-compat-headers"
makedepends="$depends_dev coreutils"
install=""
subpackages="$pkgname-doc"
source="http://download.aircrack-ng.org/$pkgname-$_pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$_pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
builddir="$srcdir"/$pkgname-$_pkgver
build() {
make -C "$_builddir" sqlite=true \
make -C "$builddir" sqlite=true \
pcre=true || return 1
}
package() {
make DESTDIR="$pkgdir" sqlite=true experimental=true \
bindir=/usr/bin sbindir=/usr/bin mandir=/usr/share/man/man1/ \
smandir=/usr/share/man/man8/ -C "$_builddir" install || return 1
smandir=/usr/share/man/man8/ -C "$builddir" install || return 1
}
md5sums="3bbc7d5035a98ec01e78774d05c3fcce aircrack-ng-1.2-rc4.tar.gz"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment