aboutsummaryrefslogtreecommitdiffstats
path: root/main/lzo/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/lzo/APKBUILD')
-rw-r--r--main/lzo/APKBUILD10
1 files changed, 8 insertions, 2 deletions
diff --git a/main/lzo/APKBUILD b/main/lzo/APKBUILD
index c522e773a5..e58bb7b53f 100644
--- a/main/lzo/APKBUILD
+++ b/main/lzo/APKBUILD
@@ -13,9 +13,15 @@ install=
subpackages="$pkgname-dev"
source="http://www.oberhumer.com/opensource/lzo/download/$pkgname-$pkgver.tar.gz"
-build() {
- cd "$srcdir/$pkgname-$pkgver"
+_builddir="$srcdir/$pkgname-$pkgver"
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
+build() {
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \