aboutsummaryrefslogtreecommitdiffstats
path: root/main/sfic/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/sfic/APKBUILD')
-rw-r--r--main/sfic/APKBUILD19
1 files changed, 13 insertions, 6 deletions
diff --git a/main/sfic/APKBUILD b/main/sfic/APKBUILD
index 3f781b4de..4c0389074 100644
--- a/main/sfic/APKBUILD
+++ b/main/sfic/APKBUILD
@@ -1,27 +1,34 @@
pkgdesc="Small and Simple File Integrity Checker"
pkgname=sfic
pkgver=0.1.7
-pkgrel=1
-depends=uclibc
+pkgrel=2
+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"
}