summaryrefslogtreecommitdiffstats
path: root/main/less
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/less
parent1eaeb70f388cfe3d10dc6825f947fdeeecf6ac44 (diff)
downloadaports-cff79a00ec4dc26a3caa16c174a07a3948da4810.tar.bz2
aports-cff79a00ec4dc26a3caa16c174a07a3948da4810.tar.xz
main/[various]: let abuild detect shared objects dependencies
Diffstat (limited to 'main/less')
-rw-r--r--main/less/APKBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/main/less/APKBUILD b/main/less/APKBUILD
index 188a7b91c..8fdbb2734 100644
--- a/main/less/APKBUILD
+++ b/main/less/APKBUILD
@@ -6,7 +6,7 @@ pkgrel=0
pkgdesc="File pager"
url="http://www.greenwoodsoftware.com/less/"
license="GPL"
-depends="uclibc ncurses"
+depends=
makedepends="ncurses-dev"
install="$pkgname.post-deinstall"
subpackages="$pkgname-doc"
@@ -15,12 +15,15 @@ source="http://www.greenwoodsoftware.com/$pkgname/$pkgname-$pkgver.tar.gz
build() {
cd "$srcdir/$pkgname-$pkgver"
-
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info
make || return 1
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}