void-packages/srcpkgs/libucl/template

34 lines
878 B
Bash
Raw Normal View History

2014-09-03 09:41:42 +02:00
# Template file for 'libucl'
pkgname=libucl
2015-03-12 11:49:20 +01:00
version=0.7.3
revision=1
2014-09-03 09:41:42 +02:00
build_style=gnu-configure
configure_args="--enable-urls --enable-signatures"
2015-02-06 23:11:55 +01:00
hostmakedepends="automake libtool pkg-config"
makedepends="libcurl-devel libressl-devel"
2014-09-03 09:41:42 +02:00
short_desc="Universal configuration library parser"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2014-09-03 09:41:42 +02:00
license="2-clause-BSD"
homepage="https://github.com/vstakhov/libucl"
2015-02-06 23:11:55 +01:00
distfiles="https://github.com/vstakhov/libucl/archive/${version}.tar.gz"
2015-03-12 11:49:20 +01:00
checksum=2f69995c7f8320350f56c1183c395cc4a2a958331f22d60b7839a117c9c601e1
2014-09-03 09:41:42 +02:00
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
}
}