updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / opendpi / PKGBUILD
blob650747ec11f9b4d98a92cfa559d3498252fee562
1 # Contributor: Jakub Schmidtke <sjakub-at-gmail-dot-com>
3 pkgname=opendpi
4 pkgver=1.3.0
5 pkgrel=1
6 pkgdesc="The open source deep packet inspection engine"
7 arch=('i686' 'x86_64')
8 url="http://opendpi.org"
9 license=('LGPL')
10 depends=()
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')
17 build() {
18   cd "${srcdir}/${pkgname}-${pkgver}"
20   ./configure --prefix=/usr && make
23 package() {
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: