summaryrefslogtreecommitdiffstats
path: root/main/sfic
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/sfic
parent1eaeb70f388cfe3d10dc6825f947fdeeecf6ac44 (diff)
downloadaports-cff79a00ec4dc26a3caa16c174a07a3948da4810.tar.bz2
aports-cff79a00ec4dc26a3caa16c174a07a3948da4810.tar.xz
main/[various]: let abuild detect shared objects dependencies
Diffstat (limited to 'main/sfic')
-rw-r--r--main/sfic/APKBUILD17
1 files changed, 12 insertions, 5 deletions
diff --git a/main/sfic/APKBUILD b/main/sfic/APKBUILD
index 3f781b4de..0aebac7a6 100644
--- a/main/sfic/APKBUILD
+++ b/main/sfic/APKBUILD
@@ -2,26 +2,33 @@ pkgdesc="Small and Simple File Integrity Checker"
pkgname=sfic
pkgver=0.1.7
pkgrel=1
-depends=uclibc
+depends=
license=GPL
makedepends="autoconf automake samba-dev"
-depends="tdb uclibc"
-arch=i486
+depends=
url=http://sfic.sourceforge.net
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
$pkgname-0.1.7-signal.patch"
subpackages="$pkgname-doc"
-build() {
- cd $srcdir/$pkgname-$pkgver
+prepare() {
+ cd "$srcdir"/$pkgname-$pkgver
patch -p1 < ../$pkgname-0.1.7-signal.patch || return 1
aclocal
autoconf
automake --add-missing || return 1
+}
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
make install DESTDIR="$pkgdir"
}