diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/ipguard/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/ipguard/PKGBUILD')
-rw-r--r-- | community/ipguard/PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/community/ipguard/PKGBUILD b/community/ipguard/PKGBUILD new file mode 100644 index 000000000..6319690a7 --- /dev/null +++ b/community/ipguard/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 43051 2011-03-23 21:45:49Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> + +pkgname=ipguard +pkgver=1.04 +pkgrel=1 +pkgdesc="ipguard - arp<->ip relation checking tool" +arch=(i686 x86_64) +url="http://ipguard.deep.perm.ru/" +license=("GPL") +depends=(libpcap libnet) +source=(http://ipguard.deep.perm.ru/files/$pkgname-$pkgver.tar.gz + build-fix-le.patch) +md5sums=('7f44f7c31876f0d68792f02047e25409' + 'b27cfc9e8ad4ef9459d7274a2e624831') + +build() { + cd $srcdir/$pkgname-$pkgver + + patch -Np1 <../build-fix-le.patch + + CFLAGS="-DLIBNET_LIL_ENDIAN" make + make PREFIX=$pkgdir/usr install + + mkdir -p $pkgdir/usr/share + mv $pkgdir/usr/man $pkgdir/usr/share/ +} |