diff options
Diffstat (limited to 'testing/shorewall-core/APKBUILD')
-rw-r--r-- | testing/shorewall-core/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/shorewall-core/APKBUILD b/testing/shorewall-core/APKBUILD new file mode 100644 index 0000000000..c070b168f8 --- /dev/null +++ b/testing/shorewall-core/APKBUILD @@ -0,0 +1,40 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=shorewall-core +pkgver=4.5.18 +pkgrel=0 +pkgdesc="Core libraries for Shorewall" +url="http://www.shorewall.net/" +arch="noarch" +license="GPL-2" +depends="" +# coreutils for install -T +makedepends="coreutils" +replaces="" +subpackages="" +source="http://www1.shorewall.net/pub/shorewall/${pkgver%.*}/shorewall-$pkgver/shorewall-core-$pkgver.tar.bz2 + " + +_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" + ./configure MANDIR=/usr/share/man SBINDIR=/usr/sbin || return 1 +} + +package() { + cd "$_builddir" + DESTDIR="$pkgdir" ./install.sh || return 1 +} + +md5sums="9bd700f66cb2da2f714a3d4ae4fbca53 shorewall-core-4.5.18.tar.bz2" +sha256sums="41b1e9e2d09c6344d546f814531996eaf52b3a30ae6c8db7ff009a8a17bde3cd shorewall-core-4.5.18.tar.bz2" +sha512sums="8b2dd691b84c5ca3beac705b4aecb7ac3c09e794c5e255915bf5a55cebef23ca4cd8fac2b3118d6e6cbbf7e432699cc447d5811de80e1d3bae0516ede27398d1 shorewall-core-4.5.18.tar.bz2" |