void-packages/srcpkgs/libucl/template
2015-02-06 23:11:55 +01:00

33 lines
875 B
Text

# Template file for 'libucl'
pkgname=libucl
version=0.7.2
revision=1
build_style=gnu-configure
configure_args="--enable-urls --enable-signatures"
hostmakedepends="automake libtool pkg-config"
makedepends="libcurl-devel libressl-devel"
short_desc="Universal configuration library parser"
maintainer="Juan RP <xtraeme@gmail.com>"
license="2-clause-BSD"
homepage="https://github.com/vstakhov/libucl"
distfiles="https://github.com/vstakhov/libucl/archive/${version}.tar.gz"
checksum=cbfdf1f8bdca20249547d2d5ba287c4b3b0901fe9d76cee9b09d5e7b9a72e1dc
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
post_install() {
vlicense COPYING LICENSE
}
libucl-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
vmove usr/share
}
}