aboutsummaryrefslogtreecommitdiffstats
path: root/main/libetpan/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-03-14 13:03:00 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-03-14 13:03:00 +0000
commit814c6bd02f7ba1c4ef3bde8659e500cab224c33c (patch)
tree6b3246751fd26b6782d77d1e7d456345eadd64af /main/libetpan/APKBUILD
parent9090e024ebfb8be38b1040d4e4b19ed0beda0f3d (diff)
downloadaports-814c6bd02f7ba1c4ef3bde8659e500cab224c33c.tar.bz2
aports-814c6bd02f7ba1c4ef3bde8659e500cab224c33c.tar.xz
main/libetpan: upgrade to 1.2
Diffstat (limited to 'main/libetpan/APKBUILD')
-rw-r--r--main/libetpan/APKBUILD22
1 files changed, 17 insertions, 5 deletions
diff --git a/main/libetpan/APKBUILD b/main/libetpan/APKBUILD
index a5516dc5d6..9c0277d8b8 100644
--- a/main/libetpan/APKBUILD
+++ b/main/libetpan/APKBUILD
@@ -1,17 +1,20 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libetpan
-pkgver=1.1
-pkgrel=4
+pkgver=1.2
+pkgrel=0
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 gnutls-dev libgcrypt-dev
- libgpg-error-dev"
+ libgpg-error-dev autoconf automake libtool"
depends=
depends_dev="cyrus-sasl-dev db-dev"
-source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz"
+source="libetpan-$pkgver.tar.gz::https://github.com/dinhviethoa/libetpan/archive/$pkgver.tar.gz
+ gnutls-fix-1.patch
+ gnutls-fix-2.patch
+ "
prepare() {
cd "$srcdir"/$pkgname-$pkgver
@@ -21,6 +24,7 @@ prepare() {
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
+ ./autogen.sh || return 1
}
build ()
@@ -45,4 +49,12 @@ package() {
rm "$pkgdir"/usr/lib/*.la || return 1
install -Dm644 COPYRIGHT "$pkgdir"/usr/share/licenses/$pkgname/license.txt
}
-md5sums="6fee60d08506e941642b8fa087e60b07 libetpan-1.1.tar.gz"
+md5sums="c15905ebc2ec620afb8bcca7b9d9c232 libetpan-1.2.tar.gz
+ecffad61f4f45a56fb9e957c26eeed1b gnutls-fix-1.patch
+3df35b893ab0b85ae8918847fe9ff5f0 gnutls-fix-2.patch"
+sha256sums="8a4a56474b5eada66475179bdb88734ddf658a5e3661c89043f4abdd571d6600 libetpan-1.2.tar.gz
+9870859e9cdb5cb4a5500f2d93c87797307b65d6cfc33a9619c9c4e61311912e gnutls-fix-1.patch
+0a8be906a75427e1bac9ea7a69102069d0f65c069bec2882ad31db8cdcedaff2 gnutls-fix-2.patch"
+sha512sums="d50050823c11d32a31adc00201a160268a09f138d54f0ac20c62f0d86d9cf1a96cc6ba50d6212fdc56181a681056ac2a52a8d9544588cdf39d07ab73c80e8b65 libetpan-1.2.tar.gz
+70baaa0b8f1d0bb4b126cbde36630fea1b7e5041d61877d85c87a81c8efbb5da378d3e447c47bbeba26ec093285c751c67b33242a6c1d5f8d6779ea0fcf658af gnutls-fix-1.patch
+61db1bd97e49aa817c919c226e9d6c1b08e370e46e422d47e87c3cf79448f5b3a5c7c6078d3df1c2c9ad9301c988748bc43e369b14546be72425d0d0357bcda1 gnutls-fix-2.patch"