Created
May 11, 2017 01:06
-
-
Save archey/5cb0a321e6a3203437a46a9270eac114 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Can Celasun <dcelasun[at]gmail[dot]com> | |
# Contributor: Arch3y <arch3y[at]riseup[dot]net> | |
pkgname=netsniff-ng | |
pkgver=0.6.3 | |
pkgrel=1 | |
pkgdesc='A high performance Linux network sniffer for packet inspection.' | |
arch=('i686' 'x86_64') | |
url='http://netsniff-ng.org/' | |
license=('GPL2') | |
makedepends=('cmake' 'flex' 'bison') | |
depends=('ncurses' 'geoip' 'zlib' 'libnetfilter_conntrack' 'libpcap' 'liburcu' 'libnl' 'libcli' 'libnet' 'libsodium') | |
source=(http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-${pkgver}.tar.gz) | |
md5sums=('231fd9292f764c0cc8ed5f9541c46f53') | |
build() { | |
cd "${srcdir}"/${pkgname}-${pkgver} | |
export NACL_INC_DIR=/usr/include/sodium | |
export NACL_LIB=sodium | |
./configure --prefix=/usr | |
make DISTRO=1 allbutmausezahn | |
} | |
package() { | |
cd "${srcdir}"/${pkgname}-${pkgver} | |
make PREFIX="/usr" DESTDIR="${pkgdir}" SBINDIR="/usr/bin" install_allbutmausezahn | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment