mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
29 lines
788 B
Bash
29 lines
788 B
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
|
|
pkgname=ipguard
|
|
pkgver=1.02
|
|
pkgrel=2
|
|
pkgdesc="ipguard - arp<->ip relation checking tool"
|
|
arch=(i686 x86_64)
|
|
url="http://ipguard.deep.perm.ru/"
|
|
license=("GPL")
|
|
depends=(libpcap)
|
|
makedepends=(libnet)
|
|
source=(http://ipguard.deep.perm.ru/files/$pkgname-$pkgver.tar.gz \
|
|
build-fix-le.patch)
|
|
md5sums=('565c86c547b2a6cab5a8a71be39b11b3'
|
|
'b27cfc9e8ad4ef9459d7274a2e624831')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
|
|
patch -Np1 <../build-fix-le.patch
|
|
|
|
CFLAGS="-DLIBNET_LIL_ENDIAN" make || return 1
|
|
make PREFIX=$pkgdir/usr install || return 1
|
|
|
|
mkdir -p $pkgdir/usr/share && \
|
|
mv $pkgdir/usr/man $pkgdir/usr/share/
|
|
}
|