2015-03-29 09:21:38 +00:00
|
|
|
# Template file for 'libetpan'
|
2015-03-29 09:40:32 +00:00
|
|
|
pkgname=libetpan
|
|
|
|
version=1.6
|
|
|
|
revision=2
|
2015-03-29 09:21:38 +00:00
|
|
|
build_style=gnu-configure
|
2015-03-29 09:40:32 +00:00
|
|
|
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"
|
2015-03-29 09:21:38 +00:00
|
|
|
short_desc="Mail Framework library for C language"
|
|
|
|
maintainer="Jakub Skrzypnik <jot.skrzyp@gmail.com>"
|
|
|
|
license="BSD"
|
|
|
|
homepage="http://www.etpan.org/libetpan.html"
|
|
|
|
distfiles="https://github.com/dinhviethoa/libetpan/archive/${version}.tar.gz"
|
|
|
|
checksum="7962b1f9445be24d1eb72daddabaebb427074c14a50e9dad0cebdec044c71e17"
|
|
|
|
|
|
|
|
pre_configure() {
|
2015-03-29 09:40:32 +00:00
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
2015-03-29 09:21:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
libetpan-devel_package() {
|
2015-03-29 09:40:32 +00:00
|
|
|
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
|
2015-03-29 09:21:38 +00:00
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
2015-03-29 09:40:32 +00:00
|
|
|
vmove usr/bin
|
2015-03-29 09:21:38 +00:00
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
}
|
|
|
|
}
|