void-packages/srcpkgs/libucl/template
2014-09-03 09:41:42 +02:00

33 lines
765 B
Text

# Template file for 'libucl'
pkgname=libucl
version=0.5.2
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool git pkg-config"
makedepends="libcurl-devel"
short_desc="Universal configuration library parser"
maintainer="Juan RP <xtraeme@gmail.com>"
license="2-clause-BSD"
homepage="https://github.com/vstakhov/libucl"
do_fetch() {
git clone -b ${version} git://github.com/vstakhov/libucl.git ${pkgname}-${version}
}
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
}
}