From 4321eb4b5be7b266ec88f430bac8bbb43fecb215 Mon Sep 17 00:00:00 2001 From: Leonardo Arena Date: Fri, 4 Mar 2011 12:39:03 +0000 Subject: main/ntop: fix default database dir --- main/ntop/APKBUILD | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'main/ntop/APKBUILD') diff --git a/main/ntop/APKBUILD b/main/ntop/APKBUILD index 299f23f186..4d3651a34a 100644 --- a/main/ntop/APKBUILD +++ b/main/ntop/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Leonardo Arena pkgname=ntop pkgver=4.0.3 -pkgrel=0 +pkgrel=1 pkgdesc="Network traffic probe" url="http://www.ntop.org" arch="all" @@ -20,15 +20,16 @@ source="http://downloads.sourceforge.net/project/$pkgname/$pkgname/Stable/$pkgna _builddir="$srcdir"/$pkgname-$pkgver -#prepare() { -# cd "$_builddir" -# apply patches here -#} +prepare() { + cd "$_builddir" + return 0 +} build() { cd "$_builddir" ./autogen.sh --prefix=/usr \ --sysconfdir=/etc \ + --localstatedir=/var \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --disable-snmp -- cgit v1.2.3