blob: 5a72b68bfc60d82d483f35934e9d20f94b9fb789 (
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
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=netdiscover
pkgver=0.3
pkgrel=1.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"
sha256sums="19c367f823c49999e2c05c485cac0a5d5685d23c6b33deae1e957406571924db netdiscover-0.3-beta6.tar.gz"
sha512sums="b8205322c34684642d52bf58f8fffa12a0dea387da713caf2935ba348c74b2e6cac717bf1626c9de816e45dce7c42b6b9584b5253351040af806f7ba262ce4d2 netdiscover-0.3-beta6.tar.gz"
|