aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rrdbot/APKBUILD
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-17 20:57:46 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-17 21:03:42 +0000
commite5f4d966fd3a9317c485777db6f416864daa515c (patch)
treef310eea81b1cc1af042ca33d7f9591390694d7f6 /testing/rrdbot/APKBUILD
parente374d0adb77ca21059a1ba75048eb14132fb1771 (diff)
downloadaports-e5f4d966fd3a9317c485777db6f416864daa515c.tar.bz2
aports-e5f4d966fd3a9317c485777db6f416864daa515c.tar.xz
testing/rrdbot: update config.guess
Diffstat (limited to 'testing/rrdbot/APKBUILD')
-rw-r--r--testing/rrdbot/APKBUILD10
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