From 03f363a4b865d7a730b54cd7b68390d747da2d17 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 29 Mar 2015 11:40:32 +0200 Subject: [PATCH] libetpan: misc tweaks (close #1228). - Enable all features (zlib, ssl, sasl, expat, ipv6). - Fix dependencies in the devel subpkg. - Use NOCONFIGURE to avoid running configure via autogen. --- srcpkgs/libetpan/template | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/srcpkgs/libetpan/template b/srcpkgs/libetpan/template index 916aa7ac3e8..e85d0f7926f 100644 --- a/srcpkgs/libetpan/template +++ b/srcpkgs/libetpan/template @@ -1,9 +1,11 @@ # Template file for 'libetpan' -pkgname="libetpan" -version="1.6" -revision=1 +pkgname=libetpan +version=1.6 +revision=2 build_style=gnu-configure -hostmakedepends="libtool automake autoconf" +configure_args="--enable-ipv6 --with-expat --with-openssl --with-curl --with-zlib --with-sasl" +hostmakedepends="libtool automake" +makedepends="expat-devel libressl-devel zlib-devel libsasl-devel libcurl-devel" short_desc="Mail Framework library for C language" maintainer="Jakub Skrzypnik " license="BSD" @@ -12,13 +14,14 @@ distfiles="https://github.com/dinhviethoa/libetpan/archive/${version}.tar.gz" checksum="7962b1f9445be24d1eb72daddabaebb427074c14a50e9dad0cebdec044c71e17" pre_configure() { - ./autogen.sh + NOCONFIGURE=1 ./autogen.sh } libetpan-devel_package() { - depends="${pkgname}>=${version}_${revision}" + depends="${makedepends} ${sourcepkg}-${version}_${revision}" short_desc+=" - development files" pkg_install() { + vmove usr/bin vmove usr/include vmove "usr/lib/*.so" vmove "usr/lib/*.a"