From cff79a00ec4dc26a3caa16c174a07a3948da4810 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 4 May 2010 08:19:59 +0000 Subject: main/[various]: let abuild detect shared objects dependencies --- main/dialog/APKBUILD | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'main/dialog') diff --git a/main/dialog/APKBUILD b/main/dialog/APKBUILD index 99619e31c..b06fb7013 100644 --- a/main/dialog/APKBUILD +++ b/main/dialog/APKBUILD @@ -7,7 +7,7 @@ pkgrel=0 pkgdesc="A script-interpreter which provides a set of curses" url="http://invisible-island.net/dialog/dialog.html" license="GPL" -depends="uclibc ncurses" +depends= makedepends="ncurses-dev" install= subpackages="$pkgname-doc" @@ -15,12 +15,15 @@ source="ftp://invisible-island.net/dialog/$pkgname.tar.gz" build() { cd "$srcdir/$pkgname-$_ver" - ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info make || return 1 +} + +package() { + cd "$srcdir/$pkgname-$_ver" make DESTDIR="$pkgdir" install } -- cgit v1.2.3