33 lines
878 B
Bash
33 lines
878 B
Bash
# Template file for 'libucl'
|
|
pkgname=libucl
|
|
version=0.8.0
|
|
revision=5
|
|
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@voidlinux.eu>"
|
|
license="2-clause-BSD"
|
|
homepage="https://github.com/vstakhov/libucl"
|
|
distfiles="https://github.com/vstakhov/libucl/archive/${version}.tar.gz"
|
|
checksum=af361cd1f0b7b66c228a1c04a662ccaa9ee8af79842046c04446d915db349ee1
|
|
|
|
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
|
|
}
|
|
}
|