summaryrefslogtreecommitdiffstats
path: root/testing/netdiscover/APKBUILD
blob: 2a22806e483cad4d4acee2aae29f84ce474cb62b (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: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=netdiscover
pkgver=0.3
pkgrel=0.beta6
pkgdesc="A network address discovering tool"
url="http://nixgeneration.com/~jaime/netdiscover/"
arch="all"
license="GPL2+"
depends=""
depends_dev=""
makedepends="libnet-dev libpcap-dev"
install=""
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/netdiscover/netdiscover-$pkgver-beta6.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver-beta6

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

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
    rm -rf "$pkgdir"/usr/doc/
}

md5sums="0919227a91ecaeeb2443cff249417be2  netdiscover-0.3-beta6.tar.gz"