void-packages/srcpkgs/libetpan/template
2016-05-01 17:10:51 +02:00

35 lines
963 B
Bash

# Template file for 'libetpan'
pkgname=libetpan
version=1.7
revision=1
build_style=gnu-configure
configure_args="--enable-ipv6 --with-curl --with-expat --with-openssl
--with-curl --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"
homepage="http://www.etpan.org/libetpan.html"
distfiles="https://github.com/dinhviethoa/libetpan/archive/${version}.tar.gz"
checksum=47d0c049d8adcdcfd0698e9f1fcb85416b0b2f476eed1f52aae72c2883cf05b0
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
post_install() {
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"
}
}