aboutsummaryrefslogtreecommitdiffstats
path: root/main/inotify-tools/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/inotify-tools/APKBUILD')
-rw-r--r--main/inotify-tools/APKBUILD14
1 files changed, 6 insertions, 8 deletions
diff --git a/main/inotify-tools/APKBUILD b/main/inotify-tools/APKBUILD
index c06a85dee8..6c1be7fe72 100644
--- a/main/inotify-tools/APKBUILD
+++ b/main/inotify-tools/APKBUILD
@@ -8,18 +8,16 @@ url="http://github.com/rvoicilas/inotify-tools"
arch="all"
license="GPL2"
depends="!inotify-tools-inc"
+makedepends="automake autoconf libtool"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/downloads/rvoicilas/$pkgname/$pkgname-$pkgver.tar.gz"
-_builddir="$srcdir"/$pkgname-$pkgver
-prepare() {
- cd "$_builddir"
- # apply patches here
- return 0
-}
+builddir="$srcdir"/$pkgname-$pkgver
+
build() {
- cd "$_builddir"
+ cd "$builddir"
+ autoreconf -vif || return 1
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
@@ -29,7 +27,7 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}