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.
This commit is contained in:
Juan RP 2015-03-29 11:40:32 +02:00
parent 4deb4abe0e
commit 03f363a4b8
1 changed files with 9 additions and 6 deletions

View File

@ -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 <jot.skrzyp@gmail.com>"
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"