aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/weplab/APKBUILD
blob: 916b08723ad4dc4ded776fdc0937d73a5e4861e6 (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=weplab
pkgver=0.1.5
pkgrel=3
pkgdesc="Analyzing WEP encryption security on wireless networks"
url="http://weplab.sourceforge.net/"
arch="all"
license="GPLv2+"
depends=""
makedepends="libpcap-dev wireless-tools-dev"
install=""
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$_builddir"
	./configure \
		--prefix=/usr \
		--mandir=/usr/share/man \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="713870965447b0b8b7341409968846fb  weplab-0.1.5.tar.gz"
sha256sums="91e4425f474d5b3213effc6d532aa3ee2fb121a1942e43c08210780a4759a72b  weplab-0.1.5.tar.gz"
sha512sums="5df9292a1556eab0f639c69e30c8109976484c92bced893bd004a3ecac86d0b986354138163fee79da3db1d44d48deb182f1e97188a1c6cb748c5558c5d2c16d  weplab-0.1.5.tar.gz"