diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/halfscan6/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/halfscan6/APKBUILD b/testing/halfscan6/APKBUILD new file mode 100644 index 000000000..2c9c14b63 --- /dev/null +++ b/testing/halfscan6/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=halfscan6 +pkgver=0.2 +pkgrel=0 +pkgdesc="An simple IPv6 tcp port scanner" +url="http://www.habets.pp.se/synscan/programs.php?prog=halfscan6" +arch="all" +license="GPL2+" +depends="" +depends_dev="" +makedepends="$depends_dev" +install="" +subpackages="" +source="http://www.habets.pp.se/synscan/files/$pkgname-$pkgver.tar.gz" + +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + make || return 1 +} + +package() { + cd "$_builddir" + install -Dm755 halfscan6 "$pkgdir"/usr/bin/$pkgname +} + +md5sums="a77f0341aa2ccde43cd41157103fbd92 halfscan6-0.2.tar.gz" +sha256sums="544531f7bc114f97c57872ad8d803ef44245cebcdd6d1e6c106b1be10ca98050 halfscan6-0.2.tar.gz" +sha512sums="b363714edd60ee66547d401811a042a9760dd8e94faef7ceeb68d0e88e03c0d179e82b7c8ddd0ccca5b9f67a1fad05b446a6c762a903cfc0a205049536e5933e halfscan6-0.2.tar.gz" |