void-packages/srcpkgs/libucl/template

37 lines
954 B
Bash

# Template file for 'libucl'
pkgname=libucl
version=0.8.2
revision=2
build_style=gnu-configure
configure_args="--enable-urls --enable-signatures"
hostmakedepends="automake libtool pkg-config"
makedepends="libcurl-devel"
checkdepends="xz"
short_desc="Universal configuration library parser"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://github.com/vstakhov/libucl"
changelog="https://github.com/vstakhov/libucl/raw/master/ChangeLog.md"
distfiles="https://github.com/vstakhov/libucl/archive/${version}.tar.gz"
checksum=d95a0e2151cc167a0f3e51864fea4e8977a0f4c473faa805269a347f7fb4e165
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
}
}