aboutsummaryrefslogtreecommitdiffstats
path: root/main/haserl/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-05-04 08:19:59 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-05-04 08:22:45 +0000
commitcff79a00ec4dc26a3caa16c174a07a3948da4810 (patch)
treeaae33bf81c3407a0622b857ed1969471eae7b7c6 /main/haserl/APKBUILD
parent1eaeb70f388cfe3d10dc6825f947fdeeecf6ac44 (diff)
downloadaports-cff79a00ec4dc26a3caa16c174a07a3948da4810.tar.gz
aports-cff79a00ec4dc26a3caa16c174a07a3948da4810.tar.bz2
aports-cff79a00ec4dc26a3caa16c174a07a3948da4810.tar.xz
main/[various]: let abuild detect shared objects dependencies
Diffstat (limited to 'main/haserl/APKBUILD')
-rw-r--r--main/haserl/APKBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/main/haserl/APKBUILD b/main/haserl/APKBUILD
index 2c4e08e493..4f742cd37b 100644
--- a/main/haserl/APKBUILD
+++ b/main/haserl/APKBUILD
@@ -5,16 +5,19 @@ pkgrel=1
pkgdesc="Html And Shell Embedded Report Language"
url="http://haserl.sourceforge.net/"
license="GPL-2"
-depends="lua uclibc"
+depends=
makedepends="lua-dev"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
subpackages="$pkgname-doc"
build() {
cd "$srcdir/$pkgname-$pkgver"
-
./configure --prefix=/usr --with-lua || return 1
make || return 1
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
chmod 4111 "$pkgdir"/usr/bin/haserl
}