diff options
-rw-r--r-- | testing/rrdbot/APKBUILD | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/testing/rrdbot/APKBUILD b/testing/rrdbot/APKBUILD index 2da147f4e5..81726c192a 100644 --- a/testing/rrdbot/APKBUILD +++ b/testing/rrdbot/APKBUILD @@ -19,15 +19,15 @@ source="http://thewalter.net/stef/software/rrdbot/rrdbot-$pkgver.tar.gz # remove if not used. # depends_dev="somepackage-dev" -_builddir="$srcdir"/$pkgname-$pkgver +builddir="$srcdir"/$pkgname-$pkgver prepare() { - cd "$_builddir" - # apply patches here + default_prepare || return 1 + update_config_guess || return 1 } build() { - cd "$_builddir" + cd "$builddir" ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ @@ -37,7 +37,7 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 install -m755 -D "$srcdir"/rrdbotd.initd \ "$pkgdir"/etc/init.d/rrdbotd || return 1 |