void-packages/srcpkgs/neon/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

29 lines
931 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@gmail.com>"
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"
}
}