blob: aed24f0d8d29d7b9a9265f5c83b484ebaeb543da (
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
|
# Maintainer: François Chavant <alpine@mail.chavant.info>
pkgname=nbtscan
pkgver=1.5.1
pkgrel=2
pkgdesc="NETBIOS nameserver scanner"
url="http://www.unixwiz.net/tools/nbtscan.html"
arch="all"
license="GPL-2.0-or-later"
source="https://dev.alpinelinux.org/archive/nbtscan/nbtscan_$pkgver.tar.gz"
subpackages="$pkgname-dbg"
options="!check"
builddir="$srcdir/$pkgname-${pkgver}a"
prepare() {
update_config_guess
default_prepare
}
build() {
./configure --prefix=/usr
make
}
package() {
mkdir -p "$pkgdir/usr/bin/"
install -Dm755 "$builddir/nbtscan" "$pkgdir/usr/bin/"
}
sha512sums="525ad8f827109b759a0bd9fa7b2b20271a7474d2a3bffe8c2dc2ed12d4ed3148b18b3db345b4e786e3a76024cd1c6c45518e188dd026a462d21109fee3c4a3b5 nbtscan_1.5.1.tar.gz"
|