# Contributor: Carlo Landmeter # Maintainer: Carlo Landmeter pkgname=gross-svn pkgver=511 pkgrel=2 pkgdesc="Greylisting of suspicious sources" url="http://code.google.com/p/gross/" arch="x86 x86_64" license="BSD" depends= makedepends="c-ares-dev" install="$pkgname.post-install $pkgname.pre-install" 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 "$pkgdir"/var/run/gross 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 e8d7c8ce4760f8443ab13c3a4af80db0 gross-svn.initd 5ca1c6e51c3243236e6564480b20279b gross-svn.confd"