aboutsummaryrefslogtreecommitdiffstats
path: root/community/aircrack-ng/APKBUILD
blob: 74fad0ef0e52cdbd15a10ebd792f1fe578553fff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=aircrack-ng
pkgver=1.2_rc4
_pkgver=${pkgver/_/-}
pkgrel=5
pkgdesc="Key cracker for the 802.11 WEP and WPA-PSK protocols"
url="http://www.aircrack-ng.org"
arch="all"
license="GPL-2.0"
depends="ethtool wireless-tools iw sqlite grep pciutils"
makedepends="coreutils libressl-dev sqlite-dev libnl-dev linux-headers pcre-dev
	bsd-compat-headers zlib-dev"
subpackages="$pkgname-doc"
source="http://download.aircrack-ng.org/$pkgname-$_pkgver.tar.gz
	altarches.patch
	"
builddir="$srcdir"/$pkgname-$_pkgver

build() {
	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
}

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"