aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/flowd/APKBUILD10
1 files changed, 9 insertions, 1 deletions
diff --git a/testing/flowd/APKBUILD b/testing/flowd/APKBUILD
index 9a49b005b1..410b709ff3 100644
--- a/testing/flowd/APKBUILD
+++ b/testing/flowd/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Valery Kartel <valery.kartel@gmail.com>
pkgname=flowd
pkgver=0.9.1
-pkgrel=0
+pkgrel=1
pkgdesc="Small, fast and secure NetFlow collector"
url="https://code.google.com/p/flowd"
arch="all"
@@ -19,9 +19,17 @@ source="https://storage.googleapis.com/google-code-archive-downloads/v2/code.goo
$pkgname.initd"
builddir="$srcdir/$pkgname-$pkgver"
+prepare() {
+ cd "$builddir"
+ update_config_sub
+}
+
build() {
cd "$builddir"
./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --target=$CTARGET \
--prefix=/usr \
--localstatedir=/var \
--sysconfdir=/etc/$pkgname \