updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / phrel / PKGBUILD
blob695f95d95916d46f0aacc94b9af8b9b1b0833715
1 # Maintainer: Estevao Valadao <estevao@archlinux-br.org>
3 pkgname=phrel
4 pkgver=1.0.0
5 pkgrel=1
6 pkgdesc="Per Host RatE Limiter"
7 arch=('i686' 'x86_64')
8 url="http://www.digitalgenesis.com/software/phrel/"
9 license=('GPL')
10 depends=('iptables')
11 makedepends=('libpcap' 'net-snmp' 'mysql')
12 optdepends=('ip6tables')
13 source=(ftp://ftp.digitalgenesis.com/pub/phrel/${pkgname}-${pkgver}.tar.gz)
14 sha1sums=(a659e992bef68431c2883cae36d522bcafc93e06)
16 build() {
17     cd "${srcdir}/${pkgname}-${pkgver}"
18     ./configure --prefix=/usr
19     make
22 package() {
23     cd "${srcdir}/${pkgname}-${pkgver}"
24     make DESTDIR="${pkgdir}" install