void-packages/srcpkgs/libetpan/template
2018-11-04 10:48:46 -02:00

36 lines
1 KiB
Bash

# Template file for 'libetpan'
pkgname=libetpan
version=1.9.1
revision=2
build_style=gnu-configure
configure_args="--enable-ipv6 --with-curl --with-expat --with-openssl
--with-zlib --with-sasl"
hostmakedepends="libtool automake"
makedepends="db-devel 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-3-Clause"
homepage="http://www.etpan.org/libetpan.html"
distfiles="https://github.com/dinhviethoa/libetpan/archive/${version}.tar.gz"
checksum=f5e354ccf1014c6ee313ade1009b8a82f28043d2504655e388bb4c1328700fcd
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
post_install() {
sed -i "s|\(-specs=.*hardened-ld\)||" ${DESTDIR}/usr/bin/libetpan-config
vlicense COPYRIGHT
}
libetpan-devel_package() {
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"
}
}