diff options
Diffstat (limited to 'testing/gross-svn/APKBUILD')
-rw-r--r-- | testing/gross-svn/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/gross-svn/APKBUILD b/testing/gross-svn/APKBUILD new file mode 100644 index 000000000..ef0028098 --- /dev/null +++ b/testing/gross-svn/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: Carlo Landmeter <clandmeter@gmail.com> +pkgname=gross-svn +pkgver=511 +pkgrel=0 +pkgdesc="Greylisting of suspicious sources" +url="http://code.google.com/p/gross/" +license="BSD" +depends="" +makedepends="c-ares" +subpackages="$pkgname-doc $pkgname-dev" +source="http://alpine.nethq.org/clandmeter/src/${pkgname}-${pkgver}.tar.bz2 +$pkgname.initd +$pkgname.confd" + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make || return 1 + make -j1 DESTDIR="$pkgdir" install + + install -dD -onobody -gnobody "$pkgdir"/var/run/grossd + install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/gross + install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/gross +} + +md5sums="f2488ced5b47f359c3a1127d9ba3453c gross-svn-511.tar.bz2 +c5fbd3396e901c5e35e3961deb0b36b6 gross-svn.initd +b95f2fba652bc93022ad87cffd096f84 gross-svn.confd" |