aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2015-09-28 21:19:37 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2015-09-28 21:21:27 +0200
commit7f3e7363820b7eeba11e2916172b882ecbf72c89 (patch)
treef144b1d535c51bb423572274cb7778f8a2181d27 /testing
parent4e274218c475b61659c74832185b5f15f94da969 (diff)
downloadaports-7f3e7363820b7eeba11e2916172b882ecbf72c89.tar.bz2
aports-7f3e7363820b7eeba11e2916172b882ecbf72c89.tar.xz
testing/dovecot-pigeonhole-plugin: minor cleanup
Diffstat (limited to 'testing')
-rw-r--r--testing/dovecot-pigeonhole-plugin/APKBUILD25
1 files changed, 18 insertions, 7 deletions
diff --git a/testing/dovecot-pigeonhole-plugin/APKBUILD b/testing/dovecot-pigeonhole-plugin/APKBUILD
index 9b0f86e22c..bae91d7d94 100644
--- a/testing/dovecot-pigeonhole-plugin/APKBUILD
+++ b/testing/dovecot-pigeonhole-plugin/APKBUILD
@@ -1,7 +1,8 @@
+# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Kozak Ivan <kozak-iv@yandex.ru>
# Maintainer: Kozak Ivan <kozak-iv@yandex.ru>
-_pkgname=dovecot-2.2-pigeonhole
pkgname=dovecot-pigeonhole-plugin
+_realname=dovecot-2.2-pigeonhole
pkgver=0.4.8
pkgrel=0
pkgdesc="Pigeonhole project provides Sieve support as a plugin to Dovecot's LDA"
@@ -9,21 +10,31 @@ url="http://pigeonhole.dovecot.org"
arch="all"
license="LGPL"
depends="dovecot"
-depends_dev="dovecot-dev mercurial openssl-dev"
-makedepends="$depends_dev"
+depends_dev=""
+makedepends="dovecot-dev openssl-dev"
install=""
subpackages="$pkgname-doc $pkgname-dev"
-source="http://pigeonhole.dovecot.org/releases/2.2/$_pkgname-$pkgver.tar.gz"
-
-_builddir="$srcdir/$_pkgname-$pkgver"
+source="http://pigeonhole.dovecot.org/releases/2.2/$_realname-$pkgver.tar.gz"
+_builddir="$srcdir/$_realname-$pkgver"
prepare() {
cd "$_builddir"
+ update_config_sub || return 1
}
build() {
cd "$_builddir"
- ./configure --prefix=/usr --with-dovecot=/usr/lib/dovecot --disable-static || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ --with-dovecot=/usr/lib/dovecot \
+ --disable-static \
+ || return 1
make || return 1
}