# Contributor: Ɓukasz Jendrysik # Maintainer: Natanael Copa pkgname=shorewall-core pkgver=4.6.5.5 _ver=$pkgver case $pkgver in *.*.*.*) _ver=${pkgver%.*};; esac pkgrel=0 pkgdesc="Core libraries for Shorewall" url="http://www.shorewall.net/" arch="noarch" license="GPL-2" depends="" # coreutils for install -T makedepends="coreutils bash" replaces="" subpackages="" 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="a04dda3a01922f56ba76262de239468c shorewall-core-4.6.5.5.tar.bz2 422c5d36fcee177acba58756b0fec7e2 shorewallrc.alpine" sha256sums="d4d6f438c35491adac9d70d3676d5b52b2b30472486dcc5e8733805ed2f8023e shorewall-core-4.6.5.5.tar.bz2 99f588523594b5a8062b2f43ab9f59daf91f12634b178f30dd7cb61786bd8220 shorewallrc.alpine" sha512sums="7c423518c5ce3b4a5cea55a67bb3eb7abf1bd0d3ab8e7fdbd16aea19447bdcd899943feb9fff9f41cb34dec47cf0cf8da467dce1ea6b1e78f2202eec32296aa0 shorewall-core-4.6.5.5.tar.bz2 c076ae42e7b404cecf521fdc32f92ba3a6b77d61579726abde2f00b6b6282e55b0b334b9fe5e43a6e4ae56361cce3214d9a38099f9f8714f03ae4fb888c744b7 shorewallrc.alpine"