diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-05-04 08:19:59 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-05-04 08:22:45 +0000 |
commit | cff79a00ec4dc26a3caa16c174a07a3948da4810 (patch) | |
tree | aae33bf81c3407a0622b857ed1969471eae7b7c6 /main/less | |
parent | 1eaeb70f388cfe3d10dc6825f947fdeeecf6ac44 (diff) | |
download | aports-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/APKBUILD | 7 |
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 } |