1 # Contributor: Jakub Schmidtke <sjakub-at-gmail-dot-com>
6 pkgdesc="The open source deep packet inspection engine"
8 url="http://opendpi.org"
11 makedepends=('gcc' 'make')
12 optdepends=('libpcacp: to compile included demo program')
13 install=OpenDPI.install
14 source=("http://opendpi.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
15 md5sums=('e00bd0df3746f928cc1e5b34c6eed0fe')
18 cd "${srcdir}/${pkgname}-${pkgver}"
20 ./configure --prefix=/usr && make
24 cd "${srcdir}/${pkgname}-${pkgver}"
26 make DESTDIR="${pkgdir}/" install
28 mkdir -p "${pkgdir}/usr/share/doc/OpenDPI/demo"
30 cp src/examples/OpenDPI_demo/*.[c,h] ${pkgdir}/usr/share/doc/OpenDPI/demo/
33 # vim:set ts=2 sw=2 et: