void-packages/srcpkgs/neon/template

30 lines
934 B
Bash

# Template file for 'neon'
pkgname=neon
version=0.30.1
revision=4
build_style=gnu-configure
configure_args="--with-expat --with-ssl=openssl --enable-shared
--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt --disable-static"
hostmakedepends="pkg-config"
makedepends="zlib-devel expat-devel libressl-devel libproxy-devel"
depends="ca-certificates"
short_desc="HTTP and WebDAV client library, with a C interface"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.webdav.org/neon/"
license="LGPL-2.1"
distfiles="http://www.webdav.org/neon/neon-$version.tar.gz"
checksum=00c626c0dc18d094ab374dbd9a354915bfe4776433289386ed489c2ec0845cdd
neon-devel_package() {
depends="expat-devel libressl-devel>=2.1.4 neon>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/bin
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/doc
vmove usr/share/man
vmove "usr/lib/*.so"
}
}