void-packages/srcpkgs/libconfig/template

45 lines
1.1 KiB
Text

# Template file for 'libconfig'
pkgname=libconfig
version=1.4.8
revision=1
build_style=gnu-configure
short_desc="C Configuration File Library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://hyperrealm.com/libconfig/libconfig.html"
license="LGPL-2.1"
distfiles="http://www.hyperrealm.com/libconfig/${pkgname}-${version}.tar.gz"
checksum=18b1509fbf438a8c7f9b0af32284e458189b5f6dfd044f898926109f3c3c01ed
libconfig++_package() {
short_desc="C++ Configuration File Library"
pkg_install() {
vmove "usr/lib/libconfig++.so*"
}
}
libconfig++-devel_package() {
depends="libconfig++>=${version}"
short_desc="C++ Configuration File Library -- development files"
pkg_install() {
vmove usr/include/libconfig.h++
vmove usr/lib/pkgconfig/libconfig++.pc
vmove "usr/lib/libconfig++.a"
}
}
libconfig-devel_package() {
depends="libconfig>=${version}"
short_desc="${short_desc} -- development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/libconfig.a"
vmove usr/share
}
}
libconfig_package() {
pkg_install() {
vmove usr
}
}