1c5f4690e6
That means that version comparators are not supported anymore in hostmakedepends and makedepends. This will ensure that a pkg is always built with the same build dependencies everywhere, if the srcpkgs tree is uptodate.
33 lines
875 B
Bash
33 lines
875 B
Bash
# Template file for 'libucl'
|
|
pkgname=libucl
|
|
version=0.7.3
|
|
revision=1
|
|
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@gmail.com>"
|
|
license="2-clause-BSD"
|
|
homepage="https://github.com/vstakhov/libucl"
|
|
distfiles="https://github.com/vstakhov/libucl/archive/${version}.tar.gz"
|
|
checksum=2f69995c7f8320350f56c1183c395cc4a2a958331f22d60b7839a117c9c601e1
|
|
|
|
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
|
|
}
|
|
}
|