diff options
Diffstat (limited to 'main/libetpan')
-rw-r--r-- | main/libetpan/APKBUILD | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/main/libetpan/APKBUILD b/main/libetpan/APKBUILD index 2733c116c7..fc7b6de3f0 100644 --- a/main/libetpan/APKBUILD +++ b/main/libetpan/APKBUILD @@ -1,22 +1,34 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libetpan pkgver=1.1 -pkgrel=0 +pkgrel=1 pkgdesc="a portable middleware for email access" url="http://www.etpan.org/" arch="all" license="custom:etpan" subpackages="$pkgname-dev $pkgname-doc" -makedepends="db-dev cyrus-sasl-dev curl-dev expat-dev openssl-dev" +makedepends="db-dev cyrus-sasl-dev curl-dev expat-dev gnutls-dev libgcrypt-dev + libgpg-error-dev" depends= depends_dev="cyrus-sasl-dev db-dev" source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz" +prepare() { + cd "$srcdir"/$pkgname-$pkgver + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + build () { cd "$srcdir"/$pkgname-$pkgver ./configure --prefix=/usr \ - --with-openssl \ + --with-gnutls=yes \ + --with-openssl=no \ + --with-gnutls \ --disable-static make || return 1 |