PKGBUILDs/extra/libnids/PKGBUILD

24 lines
800 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 27777 2009-02-25 21:14:01Z eric $
# Contributor: Essien Ita Essien <essiene@datavibe.net>
# Maintainer: damir <damir@archlinux.org>
pkgname=libnids
pkgver=1.23
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>=1.0.0' 'glib2')
makedepends=('pkgconfig')
source=(http://downloads.sourceforge.net/sourceforge/libnids/$pkgname-$pkgver.tar.gz)
md5sums=('af35e8ef403a0ca95df2da94db856428')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr --man=/usr/share/man || return 1
make static shared || return 1
make install_prefix=$pkgdir install _installshared || return 1
ln -s libnids.so.1.23 $pkgdir/usr/lib/libnids.so.1
}