blob: e7becee91b8adbbe8871acb5957ec128c444c757 (
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
37
38
39
40
41
42
43
44
|
# Contributor: Antoine Tenart <antoine.tenart@ack.tf>
# Maintainer: Antoine Tenart <antoine.tenart@ack.tf>
pkgname=arp-scan
pkgver=1.9.5
pkgrel=0
pkgdesc="The ARP scanner"
url="https://github.com/royhills/arp-scan"
arch="all"
license="GPL-3.0"
depends=""
makedepends="libpcap-dev autoconf automake libtool"
install=""
subpackages="${pkgname}-doc"
source="${pkgname}-${pkgver}.tar.gz::https://github.com/royhills/arp-scan/archive/${pkgver}.tar.gz"
_builddir="${srcdir}/${pkgname}-${pkgver}"
prepare() {
cd "${_builddir}"
autoreconf --install
}
build() {
cd "${_builddir}"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--mandir=/usr/share/man \
|| return 1
make || return 1
}
check() {
cd "$builddir"
make check
}
package() {
cd "${_builddir}"
make DESTDIR="${pkgdir}" install || return 1
}
sha512sums="a10c510dc668b103fc508619d04e5870fdf6f576b79222904cfe988b4e9255604ce1a724100318a662d5f77d33270bc733f0e3091fb9da034a54b9ab402cbcab arp-scan-1.9.5.tar.gz"
|