41 lines
1.1 KiB
Bash
41 lines
1.1 KiB
Bash
# Template file for 'libconfig'
|
|
pkgname=libconfig
|
|
version=1.4.9
|
|
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=09c8979252e60193e2969e9b0e1cd597f7820087867989b2f0939ad164473041
|
|
|
|
libconfig++_package() {
|
|
short_desc="C++ Configuration File Library"
|
|
pkg_install() {
|
|
vmove usr/lib/libconfig++.so.*
|
|
}
|
|
}
|
|
|
|
libconfig++-devel_package() {
|
|
depends="libconfig++>=${version}_${revision}"
|
|
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
|
|
vmove usr/lib/libconfig++.so
|
|
}
|
|
}
|
|
|
|
libconfig-devel_package() {
|
|
depends="libconfig>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/libconfig.a
|
|
vmove usr/lib/libconfig.so
|
|
vmove usr/share
|
|
}
|
|
}
|