diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-04-11 14:07:29 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-04-11 14:07:29 +0000 |
commit | bd8539fe82e18726795063659ea05c2a37801b62 (patch) | |
tree | 05b3136db5aaf994060060dbe438b4de92960359 /testing | |
parent | 8c2eab526b4cc29c996702e43416514451bc11e5 (diff) | |
download | aports-bd8539fe82e18726795063659ea05c2a37801b62.tar.bz2 aports-bd8539fe82e18726795063659ea05c2a37801b62.tar.xz |
testing/imapproxy: new aport
session pooling imap proxy
http://imapproxy.org
Diffstat (limited to 'testing')
-rw-r--r-- | testing/imapproxy/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/testing/imapproxy/APKBUILD b/testing/imapproxy/APKBUILD new file mode 100644 index 000000000..d3a9793e0 --- /dev/null +++ b/testing/imapproxy/APKBUILD @@ -0,0 +1,43 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=imapproxy +pkgver=1.2.7 +pkgrel=0 +pkgdesc="session pooling imap proxy" +url="http://imapproxy.org" +arch="all" +license="GPL-2" +depends= +depends_dev= +makedepends="$depends_dev" +install= +subpackages= +source="http://prdownloads.sourceforge.net/squirrelmail/squirrelmail-imap_proxy-$pkgver.tar.bz2" + +_builddir="$srcdir/squirrelmail-imap_proxy-$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 +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make EBIN="$pkgdir"/usr/sbin install || return 1 +} + +md5sums="c46524414a2375310557686e723bd120 squirrelmail-imap_proxy-1.2.7.tar.bz2" |