summaryrefslogtreecommitdiff
path: root/community/libdaq/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libdaq/PKGBUILD')
-rw-r--r--community/libdaq/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/libdaq/PKGBUILD b/community/libdaq/PKGBUILD
new file mode 100644
index 000000000..79dfc3f2a
--- /dev/null
+++ b/community/libdaq/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 74193 2012-07-22 19:47:13Z lfleischer $
+# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
+
+pkgname=libdaq
+pkgver=1.1.1
+pkgrel=1
+pkgdesc='Data Acquisition library for packet I/O.'
+arch=('i686' 'x86_64')
+url='http://www.snort.org/'
+license=('GPL')
+depends=('libpcap')
+makedepends=('ca-certificates')
+options=('!libtool')
+source=("http://www.snort.org/dl/snort-current/daq-${pkgver}.tar.gz"{,.sig})
+md5sums=('bc204ea09165b4ecbb1bb49c7c1a2ad4'
+ '3ec4c252249b09adaf5c96e2626a1f74')
+
+build() {
+ cd "${srcdir}/daq-${pkgver}"
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/daq-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}