2014-09-03 07:41:42 +00:00
|
|
|
# Template file for 'libucl'
|
|
|
|
pkgname=libucl
|
2014-11-29 20:12:42 +00:00
|
|
|
version=0.6.1
|
2014-12-18 16:35:51 +00:00
|
|
|
revision=2
|
2014-09-03 07:41:42 +00:00
|
|
|
build_style=gnu-configure
|
2014-12-18 16:35:51 +00:00
|
|
|
configure_args="--enable-urls --enable-signatures"
|
2014-09-03 07:41:42 +00:00
|
|
|
hostmakedepends="automake libtool git pkg-config"
|
2014-12-18 16:35:51 +00:00
|
|
|
makedepends="libcurl-devel libressl-devel"
|
2014-09-03 07:41:42 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|