vp-build/srcpkgs/libucl/template

35 lines
865 B
Bash

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