mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
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:
parent
4deb4abe0e
commit
03f363a4b8
1 changed files with 9 additions and 6 deletions
|
@ -1,9 +1,11 @@
|
||||||
# Template file for 'libetpan'
|
# Template file for 'libetpan'
|
||||||
pkgname="libetpan"
|
pkgname=libetpan
|
||||||
version="1.6"
|
version=1.6
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
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"
|
short_desc="Mail Framework library for C language"
|
||||||
maintainer="Jakub Skrzypnik <jot.skrzyp@gmail.com>"
|
maintainer="Jakub Skrzypnik <jot.skrzyp@gmail.com>"
|
||||||
license="BSD"
|
license="BSD"
|
||||||
|
@ -12,13 +14,14 @@ distfiles="https://github.com/dinhviethoa/libetpan/archive/${version}.tar.gz"
|
||||||
checksum="7962b1f9445be24d1eb72daddabaebb427074c14a50e9dad0cebdec044c71e17"
|
checksum="7962b1f9445be24d1eb72daddabaebb427074c14a50e9dad0cebdec044c71e17"
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
./autogen.sh
|
NOCONFIGURE=1 ./autogen.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
libetpan-devel_package() {
|
libetpan-devel_package() {
|
||||||
depends="${pkgname}>=${version}_${revision}"
|
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
|
vmove usr/bin
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove "usr/lib/*.so"
|
vmove "usr/lib/*.so"
|
||||||
vmove "usr/lib/*.a"
|
vmove "usr/lib/*.a"
|
||||||
|
|
Loading…
Add table
Reference in a new issue