aboutsummaryrefslogtreecommitdiffstats
path: root/testing/most
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-17 20:44:46 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-17 21:03:42 +0000
commit8463626ca4f30e70c0487e43c6ab053aa2ba751c (patch)
tree1be6099984f6aecb8d234a6628f4f7bda4bc5d5c /testing/most
parent337b682f532d4bf20e75b6aa9e4720c54db82e30 (diff)
downloadaports-8463626ca4f30e70c0487e43c6ab053aa2ba751c.tar.bz2
aports-8463626ca4f30e70c0487e43c6ab053aa2ba751c.tar.xz
testing/most: update config.guess
Diffstat (limited to 'testing/most')
-rw-r--r--testing/most/APKBUILD16
1 files changed, 6 insertions, 10 deletions
diff --git a/testing/most/APKBUILD b/testing/most/APKBUILD
index e6d4f1c595..d5e9c87935 100644
--- a/testing/most/APKBUILD
+++ b/testing/most/APKBUILD
@@ -14,25 +14,21 @@ install=""
subpackages="$pkgname-doc"
source="$url/$pkgname-$pkgver.tar.gz"
-_builddir="$srcdir"/$pkgname-$pkgver
+builddir="$srcdir"/$pkgname-$pkgver
+
prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
+ default_prepare || return 1
+ update_config_guess || return 1
}
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure --prefix=/usr --sysconfdir=/etc
make -j1 || return 1
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}