diff options
-rw-r--r-- | testing/iprange/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/iprange/APKBUILD b/testing/iprange/APKBUILD new file mode 100644 index 0000000000..95df945967 --- /dev/null +++ b/testing/iprange/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Jonny Tyers <jtyers@gmail.com> +# Maintainer: Jonny Tyers <jtyers@gmail.com> +pkgname=iprange +pkgver=1.0.3 +pkgrel=0 +pkgdesc="manages IP ranges (part of FireHOL)" +url="https://github.com/firehol/iprange" +arch="all" +license="GPL2" +depends="" +install="" +subpackages="$pkgname-doc" +source="https://firehol.org/download/iprange/releases/v$pkgver/iprange-$pkgver.tar.bz2" +options="!check" + +builddir="$srcdir"/$pkgname-$pkgver + +build() { + cd "$builddir" + + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc/ssh \ + --datadir=/usr/share/openssh \ + --libexecdir=/usr/lib/ssh \ + --mandir=/usr/share/man + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="c3da3b0f070010e53d2caa53cf0f11d5a8691ead418f2549c837a287cc8cbd023f36fa85eb7740ddc5df5339f103107cf3be02f6ee1489e160cba10692f9e0e1 iprange-1.0.3.tar.bz2" |