aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mmh
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2015-09-07 00:07:24 +0200
committerFrancesco Colista <fcolista@alpinelinux.org>2015-09-07 08:47:48 +0000
commit68df424def2fe5b2b2e22e3f8632b3188d1ac6f2 (patch)
treeb62a4f7dc2c15582d928f928396411f15d9e9ff7 /testing/mmh
parent248c2164f0d3148cd78fe75e236cb00b880150c5 (diff)
downloadaports-68df424def2fe5b2b2e22e3f8632b3188d1ac6f2.tar.bz2
aports-68df424def2fe5b2b2e22e3f8632b3188d1ac6f2.tar.xz
testing/mmh: update configure flags
Also store configurations in a dedicated directory.
Diffstat (limited to 'testing/mmh')
-rw-r--r--testing/mmh/APKBUILD14
1 files changed, 12 insertions, 2 deletions
diff --git a/testing/mmh/APKBUILD b/testing/mmh/APKBUILD
index 5c7624125f..fa89588d06 100644
--- a/testing/mmh/APKBUILD
+++ b/testing/mmh/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=mmh
pkgver=0.1
-pkgrel=0
+pkgrel=1
pkgdesc="MUA for users who like the unix philosophy"
url="http://marmaro.de/prog/mmh/"
arch="all"
@@ -18,6 +18,8 @@ source="http://marmaro.de/prog/${pkgname}/files/${pkgname}-${pkgver}.tar.gz
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
+ update_config_sub || return 1
+
local i=
for i in $source; do
case $i in
@@ -28,7 +30,15 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc/$pkgname \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ || return 1
make || return 1
}