diff options
author | M0Rf30 | 2015-08-08 02:42:01 +0200 |
---|---|---|
committer | M0Rf30 | 2015-08-08 02:42:01 +0200 |
commit | e69424a562700ef7986d8a78270b2dac248e2a0d (patch) | |
tree | 53c1e8153b2317bb0ac096fb82eb005d45c119ec /PKGBUILD | |
download | aur-e69424a562700ef7986d8a78270b2dac248e2a0d.tar.gz |
3.9.4
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..267914c6997d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: M0Rf30 + +pkgname=coral +pkgver=3.9.4 +pkgrel=1 +pkgdesc="A set of drivers, libraries, utilities and analysis software for ATM and PoS OCx monitors and pcap interfaces" +url="https://www.caida.org/tools/measurement/coralreef/status.xml" +arch=('i686' 'x86_64') +depends=('perl') +source=("https://www.caida.org/tools/measurement/coralreef/dists/$pkgname-$pkgver.tar.gz" + patch.diff) + +license=('MIT') + +package() { + cd $srcdir/$pkgname-$pkgver + patch -Np1 -i ../patch.diff + find . -type f -exec sed -i -e 's/-DHAS_BOOL/-D__USE_BSD -D_GNU_SOURCE/g' {} + + ./configure --prefix=/usr + make + make DESTDIR=$pkgdir install +} + +md5sums=('c2e392d097e7afa7c087c0a2b5af0dd8' + '199ab35e8d42242c263c827387ea11d8') |