summaryrefslogtreecommitdiff
path: root/community/libnids/PKGBUILD
blob: 1618d4c63f3c305b3d89ed8fd4cdb0fa9088f996 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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' '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 || 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
}