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/libnids |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/libnids')
-rw-r--r-- | community/libnids/PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/community/libnids/PKGBUILD b/community/libnids/PKGBUILD new file mode 100644 index 000000000..9c3991524 --- /dev/null +++ b/community/libnids/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 80211 2010-05-13 16:40:37Z andrea $ +# Maintainer: +# Contributor: Essien Ita Essien <essiene@datavibe.net> +# Contributor: damir <damir@archlinux.org> + +pkgname=libnids +pkgver=1.24 +pkgrel=1 +pkgdesc="An implementation of an E-component of Network Intrusion Detection System." +arch=('i686' 'x86_64') +url="http://libnids.sourceforge.net/" +license=('GPL') +depends=('libnet' 'libpcap' 'glib2') +makedepends=('pkgconfig') +source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz) +md5sums=('72d37c79c85615ffe158aa524d649610') + +build() { + cd $srcdir/$pkgname-$pkgver + ./configure --prefix=/usr --man=/usr/share/man || return 1 + make static shared || return 1 +} + +package() { + cd $srcdir/$pkgname-$pkgver + make install_prefix=$pkgdir install _installshared || return 1 + ln -s libnids.so.1.24 $pkgdir/usr/lib/libnids.so.1 || return 1 +} |