# $Id: PKGBUILD 100211 2013-11-01 21:20:12Z spupykin $ # Maintainer: # Contributor: Essien Ita Essien # Contributor: damir pkgname=libnids pkgver=1.24 pkgrel=3 pkgdesc="An implementation of an E-component of Network Intrusion Detection System." arch=('i686' 'x86_64' 'mips64el') 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 --enable-shared make } package() { cd $srcdir/$pkgname-$pkgver make install_prefix=$pkgdir install ln -s libnids.so.1.24 $pkgdir/usr/lib/libnids.so.1 }