diff options
Diffstat (limited to 'packages/archlinux/PKGBUILD')
-rw-r--r-- | packages/archlinux/PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/packages/archlinux/PKGBUILD b/packages/archlinux/PKGBUILD new file mode 100644 index 000000000..c7bdf673f --- /dev/null +++ b/packages/archlinux/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Toni Uhlig <toni@impl.cc> + +pkgname=nDPId-testing +pkgver=1.0 +pkgrel=1 +pkgdesc="Tiny nDPI based deep packet inspection daemons / toolkit." +arch=('i686' 'x86_64') +url="https://github.com/utoni/nDPId" +license=('GPL3') +options=() + +build() { + cd "${srcdir}/../../.." + mkdir -p build-archlinux && cd build-archlinux + cmake .. \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_PREFIX="/usr/local" \ + -DBUILD_EXAMPLES=ON \ + -DBUILD_NDPI=ON \ + -DENABLE_SANITIZER=ON + make VERBOSE=1 +} + +package() { + cd "${srcdir}/../../../build-archlinux" + make DESTDIR="${pkgdir}/" install +} |