# Contributor: Ɓukasz Jendrysik # Maintainer: Natanael Copa pkgname=shorewall-core pkgver=5.0.13.4 _ver=$pkgver case $pkgver in *.*.*.*) _ver=${pkgver%.*};; esac pkgrel=0 pkgdesc="Core libraries for Shorewall" url="http://www.shorewall.net/" arch="noarch" license="GPL2" depends="" # coreutils for install -T makedepends="coreutils bash" replaces="" subpackages="$pkgname-doc" source="http://www.shorewall.net/pub/shorewall/${_ver%.*}/shorewall-$_ver/shorewall-core-$pkgver.tar.bz2 shorewallrc.alpine " _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 cp "$srcdir"/shorewallrc.alpine . } build() { cd "$_builddir" ./configure || return 1 } package() { cd "$_builddir" DESTDIR="$pkgdir" ./install.sh shorewallrc.alpine || return 1 } md5sums="d818ad28d3674c93c82da7c9f0ef01e5 shorewall-core-5.0.13.4.tar.bz2 422c5d36fcee177acba58756b0fec7e2 shorewallrc.alpine" sha256sums="f8340cc9b0bd6aed85d3305887b565c8f93066316037d5962443ca1296d0643b shorewall-core-5.0.13.4.tar.bz2 99f588523594b5a8062b2f43ab9f59daf91f12634b178f30dd7cb61786bd8220 shorewallrc.alpine" sha512sums="b4d3ab1fd99f9536e3ec22a6fcf6c1ca283a5d493cf5ae3ffdd15524bc9f1ab91329decb1faa2d334746a0bf9fc523fbbacb759cd48fbcff6fab6acb71dfb8ed shorewall-core-5.0.13.4.tar.bz2 c076ae42e7b404cecf521fdc32f92ba3a6b77d61579726abde2f00b6b6282e55b0b334b9fe5e43a6e4ae56361cce3214d9a38099f9f8714f03ae4fb888c744b7 shorewallrc.alpine"