aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/libzen/APKBUILD (renamed from unmaintained/libzen/APKBUILD)24
1 files changed, 6 insertions, 18 deletions
diff --git a/unmaintained/libzen/APKBUILD b/testing/libzen/APKBUILD
index 0ca3ea6e9e..2f990f58c1 100644
--- a/unmaintained/libzen/APKBUILD
+++ b/testing/libzen/APKBUILD
@@ -1,5 +1,5 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
-# Maintainer:
+# Maintainer: Corey Oliver <corey.jon.oliver@gmail.com>
pkgname=libzen
pkgver=0.4.31
pkgrel=0
@@ -14,35 +14,23 @@ install=""
subpackages=""
source="http://downloads.sourceforge.net/zenlib/${pkgname}_${pkgver}.tar.bz2"
-_builddir="$srcdir"/ZenLib/Project/GNU/Library
-
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir"/ZenLib/Project/GNU/Library
build() {
- cd "$_builddir"
+ cd "$builddir"
./autogen || return 1
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --localstatedir=/var \
+ --enable-shared \
+ --disable-static \
|| return 1
make || return 1
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/*.la
}