blob: 5c1b32d1da41c52e1887027485eb9b18feebd7ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=gross-svn
pkgver=511
pkgrel=1
pkgdesc="Greylisting of suspicious sources"
url="http://code.google.com/p/gross/"
license="BSD"
depends="uclibc"
makedepends="c-ares"
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
$install"
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
f553899b62bea50c25baf6f88afe69af gross-svn.initd
5ca1c6e51c3243236e6564480b20279b gross-svn.confd
4b55d1c5534167946cc11376d1b05c34 gross-svn.post-install
8f6e45b98888dbb9971f7681bf431f6f gross-svn.pre-install"
|