APKBUILD 1.49 KB
Newer Older
1 2 3
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=aircrack-ng
4
pkgver=1.2_rc4
5
_pkgver=${pkgver/_/-}
6
pkgrel=5
7 8 9
pkgdesc="Key cracker for the 802.11 WEP and WPA-PSK protocols"
url="http://www.aircrack-ng.org"
arch="all"
10
license="GPL-2.0"
11
depends="ethtool wireless-tools iw sqlite grep pciutils"
12 13
makedepends="coreutils libressl-dev sqlite-dev libnl-dev linux-headers pcre-dev
	bsd-compat-headers zlib-dev"
14
subpackages="$pkgname-doc"
15 16 17
source="http://download.aircrack-ng.org/$pkgname-$_pkgver.tar.gz
	altarches.patch
	"
18
builddir="$srcdir"/$pkgname-$_pkgver
19 20

build() {
21
	make -C "$builddir" sqlite=true \
22
		pcre=true || return 1
23 24 25
}

package() {
26
	make DESTDIR="$pkgdir" sqlite=true experimental=true \
27
		bindir=/usr/bin sbindir=/usr/bin mandir=/usr/share/man/man1/ \
28
		smandir=/usr/share/man/man8/ -C "$builddir" install || return 1
29 30
}

31 32 33 34 35 36
md5sums="3bbc7d5035a98ec01e78774d05c3fcce  aircrack-ng-1.2-rc4.tar.gz
373d8ede12e3c1b8b81a747e8b802614  altarches.patch"
sha256sums="d93ac16aade5b4d37ab8cdf6ce4b855835096ccf83deb65ffdeff6d666eaff36  aircrack-ng-1.2-rc4.tar.gz
23fe9e2e3386e043ebf56326bd9a19b0a22f42e819ae9888c827fe9467526cf3  altarches.patch"
sha512sums="f1e1d465813a5f00fd8f8b287353033ea30b657a4c3a9fe81281ab2546d3238690f0659076bff53703fbc796ba40efb16115804d21f8516adca2c774fefea20c  aircrack-ng-1.2-rc4.tar.gz
5fc06239a6ce10314a431f24ef82c78646e6a016161d7b74f4dc2153432229c4f05d759c2685c5b41ae0fbb307946bbc8a4999067e3a548da8016a6b643f7891  altarches.patch"