aboutsummaryrefslogtreecommitdiffstats
path: root/testing/nbtscan/APKBUILD
blob: f774faba268a65d5e566cfd78b2d5ce2eaac1a68 (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
# Maintainer: François Chavant <alpine@mail.chavant.info>
pkgname=nbtscan
pkgver=1.5.1
pkgrel=1
pkgdesc="NETBIOS nameserver scanner"
url="http://www.inetcat.net/software/nbtscan.html"
arch="all"
license="GPL"
depends=""
makedepends=""
install=""
source="https://dev.alpinelinux.org/archive/nbtscan/${pkgname}_$pkgver.tar.gz"
subpackages="$pkgname-dbg"
options="!check"

builddir="$srcdir/$pkgname-${pkgver}a"

prepare() {
	update_config_guess
	default_prepare
}

build() {
	cd "$builddir"
	./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"