void-packages/srcpkgs/neon/template

32 lines
1.0 KiB
Bash

# Template file for 'neon'
pkgname=neon
version=0.30.2
revision=10
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="Orphaned <orphan@voidlinux.org>"
homepage="http://www.webdav.org/neon/"
license="LGPL-2.1"
# The website www.webdav.org is (temporarily?) gone
# distfiles="http://www.webdav.org/neon/neon-$version.tar.gz"
distfiles="http://download.openpkg.org/components/cache/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=db0bd8cdec329b48f53a6f00199c92d5ba40b0f015b153718d1b15d3d967fbca
neon-devel_package() {
depends="${makedepends} 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"
}
}