aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorKozak Ivan <kozak-iv@yandex.ru>2014-01-30 03:30:26 +0400
committerNatanael Copa <ncopa@alpinelinux.org>2014-02-05 19:12:53 +0000
commitb99a8fe7be8e04db750ca4cf28f9ea73a032f946 (patch)
treedcd2aa7e2de913cacba41fb5dc2cc9ff476f0547 /testing
parentc136e3fa80c50918b7f9e635346bf86c63406c83 (diff)
downloadaports-b99a8fe7be8e04db750ca4cf28f9ea73a032f946.tar.bz2
aports-b99a8fe7be8e04db750ca4cf28f9ea73a032f946.tar.xz
testing/dovecot-pigeonhole-plugin: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/dovecot-pigeonhole-plugin/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/dovecot-pigeonhole-plugin/APKBUILD b/testing/dovecot-pigeonhole-plugin/APKBUILD
new file mode 100644
index 0000000000..d304401b71
--- /dev/null
+++ b/testing/dovecot-pigeonhole-plugin/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Kozak Ivan <kozak-iv@yandex.ru>
+# Maintainer: Kozak Ivan <kozak-iv@yandex.ru>
+_pkgname=dovecot-2.2-pigeonhole
+pkgname=dovecot-pigeonhole-plugin
+pkgver=0.4.2
+pkgrel=0
+pkgdesc="Pigeonhole project provides Sieve support as a plugin to Dovecot's LDA"
+url="http://pigeonhole.dovecot.org"
+arch="all"
+license="LGPL"
+depends="dovecot"
+depends_dev="dovecot-dev mercurial openssl-dev"
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc $pkgname-dev"
+source="http://pigeonhole.dovecot.org/releases/2.2/$_pkgname-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr --with-dovecot=/usr/lib/dovecot --disable-static || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/dovecot/*.la
+ rm -f "$pkgdir"/usr/lib/dovecot/doveadm/*.la
+ rm -f "$pkgdir"/usr/lib/dovecot/settings/*.la
+ rm -f "$pkgdir"/usr/lib/dovecot/sieve/*.la
+}
+
+md5sums="e8cb4976db9811d37e9d870f2f75ffef dovecot-2.2-pigeonhole-0.4.2.tar.gz"
+sha256sums="0499f07037b86489fdc1d48fb19e298d5360ec41273bccaec230eb1bcf5a3e13 dovecot-2.2-pigeonhole-0.4.2.tar.gz"
+sha512sums="3b66d00a8462ee668b8671f5eaa48bb91d47ed8bf8b331f7d879ba8c581e2bef11e236b06a8c5da9f1248572348ad0b3e2b867fd0a17badf32152fedbe61c1ed dovecot-2.2-pigeonhole-0.4.2.tar.gz"