diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-22 10:26:15 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-22 10:56:27 +0000 |
commit | 05d8679cf7535fce20297e7d6e96bbc6bdd8ae95 (patch) | |
tree | 334254174c91b210736c2191cd8f9a7b093ffbaa | |
parent | 43aed370e1b3e77fd1ac158866ed60795088e1f3 (diff) | |
download | aports-05d8679cf7535fce20297e7d6e96bbc6bdd8ae95.tar.bz2 aports-05d8679cf7535fce20297e7d6e96bbc6bdd8ae95.tar.xz |
community/libnids: moved from testing
-rw-r--r-- | community/libnids/APKBUILD (renamed from testing/libnids/APKBUILD) | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/testing/libnids/APKBUILD b/community/libnids/APKBUILD index bd780485bc..15c170ab69 100644 --- a/testing/libnids/APKBUILD +++ b/community/libnids/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=libnids pkgver=1.24 -pkgrel=0 +pkgrel=1 pkgdesc="An implementation of an E-component of Network Intrusion Detection System." url="http://libnids.sourceforge.net" arch="all" @@ -14,19 +14,10 @@ install="" subpackages="$pkgname-dev $pkgname-doc" source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +builddir="$srcdir"/$pkgname-$pkgver build() { - cd "$_builddir" + cd "$builddir" ./configure \ --prefix=/usr \ --man=/usr/share/man \ @@ -36,7 +27,7 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make install_prefix=$pkgdir install ln -s libnids.so.1.24 $pkgdir/usr/lib/libnids.so.1 } |