summaryrefslogtreecommitdiffstats
path: root/main/libetpan
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-09-05 21:38:18 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-09-05 22:21:33 +0000
commitfa5d3e76eaa6602a830f42042eec07209c5d93b4 (patch)
tree48ed01d54235e0ba0c862b74a0f11bcf6dbdd509 /main/libetpan
parent7425f9013ece97c605a6413ec3c0a6d49c16acc9 (diff)
downloadaports-fa5d3e76eaa6602a830f42042eec07209c5d93b4.tar.bz2
aports-fa5d3e76eaa6602a830f42042eec07209c5d93b4.tar.xz
main/libetpan: new aport
a portable middleware for email access http://www.etpan.org/ needed for imap support in claws-mail
Diffstat (limited to 'main/libetpan')
-rw-r--r--main/libetpan/APKBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/main/libetpan/APKBUILD b/main/libetpan/APKBUILD
new file mode 100644
index 000000000..6c5421212
--- /dev/null
+++ b/main/libetpan/APKBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libetpan
+pkgver=0.58
+pkgrel=0
+pkgdesc="a portable middleware for email access"
+url="http://www.etpan.org/"
+license="custom:etpan"
+subpackages="$pkgname-dev $pkgname-doc"
+makedepends="db-dev cyrus-sasl-dev curl-dev expat-dev"
+depends=
+depends_dev="cyrus-sasl-dev"
+source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz"
+
+build ()
+{
+ cd "$srcdir"/$pkgname-$pkgver
+ sed -e 's/db-4.4/db-4.7/g' -i configure || return 1
+ ./configure --prefix=/usr \
+ --disable-static
+
+ make || return 1
+ make DESTDIR="$pkgdir" install
+ install -Dm644 COPYRIGHT "$pkgdir"/usr/share/licenses/$pkgname/license.txt
+}
+md5sums="bf20b5c0548f06b94bc588afdf5b3436 libetpan-0.58.tar.gz"