2013-01-04 10:23:35 +00:00
|
|
|
# Template file for 'libconfig'
|
|
|
|
pkgname=libconfig
|
2014-06-04 22:08:20 +00:00
|
|
|
version=1.4.9
|
2013-01-04 10:23:35 +00:00
|
|
|
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"
|
2014-06-04 22:08:20 +00:00
|
|
|
checksum=09c8979252e60193e2969e9b0e1cd597f7820087867989b2f0939ad164473041
|
2013-04-13 08:15:49 +00:00
|
|
|
|
|
|
|
libconfig++_package() {
|
|
|
|
short_desc="C++ Configuration File Library"
|
|
|
|
pkg_install() {
|
2014-06-04 22:08:20 +00:00
|
|
|
vmove usr/lib/libconfig++.so.*
|
2013-04-13 08:15:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libconfig++-devel_package() {
|
2014-06-04 22:08:20 +00:00
|
|
|
depends="libconfig++>=${version}_${revision}"
|
|
|
|
short_desc="C++ Configuration File Library - development files"
|
2013-04-13 08:15:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include/libconfig.h++
|
|
|
|
vmove usr/lib/pkgconfig/libconfig++.pc
|
2014-06-04 22:08:20 +00:00
|
|
|
vmove usr/lib/libconfig++.a
|
|
|
|
vmove usr/lib/libconfig++.so
|
2013-04-13 08:15:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libconfig-devel_package() {
|
2014-06-04 22:08:20 +00:00
|
|
|
depends="libconfig>=${version}_${revision}"
|
2014-01-01 15:10:11 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 08:15:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-06-04 22:08:20 +00:00
|
|
|
vmove usr/lib/libconfig.a
|
|
|
|
vmove usr/lib/libconfig.so
|
2013-04-13 08:15:49 +00:00
|
|
|
vmove usr/share
|
|
|
|
}
|
|
|
|
}
|