~alpine/aports

testing/mmh: update configure flags v1 PROPOSED

Sören Tempel: 1
 testing/mmh: update configure flags

 1 files changed, 12 insertions(+), 2 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/1127/mbox | git am -3
Learn more about email & git

[alpine-aports] [PATCH] testing/mmh: update configure flags Export this patch

Also store configurations in a dedicated directory.
---
 testing/mmh/APKBUILD | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/testing/mmh/APKBUILD b/testing/mmh/APKBUILD
index 5c76241..fa89588 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
}

-- 
2.5.1



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---