2013-01-04 11:23:35 +01:00
|
|
|
# Template file for 'libconfig'
|
|
|
|
pkgname=libconfig
|
2015-05-19 07:43:00 +02:00
|
|
|
version=1.5
|
2013-01-04 11:23:35 +01:00
|
|
|
revision=1
|
|
|
|
build_style=gnu-configure
|
|
|
|
short_desc="C Configuration File Library"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2013-01-04 11:23:35 +01:00
|
|
|
homepage="http://hyperrealm.com/libconfig/libconfig.html"
|
|
|
|
license="LGPL-2.1"
|
|
|
|
distfiles="http://www.hyperrealm.com/libconfig/${pkgname}-${version}.tar.gz"
|
2015-05-19 07:43:00 +02:00
|
|
|
checksum=e31daa390d8e4461c8830512fe2e13ba1a3d6a02a2305a02429eec61e68703f6
|
2013-04-13 10:15:49 +02:00
|
|
|
|
|
|
|
libconfig++_package() {
|
|
|
|
short_desc="C++ Configuration File Library"
|
|
|
|
pkg_install() {
|
2014-06-05 00:08:20 +02:00
|
|
|
vmove usr/lib/libconfig++.so.*
|
2013-04-13 10:15:49 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
libconfig++-devel_package() {
|
2014-06-05 00:08:20 +02:00
|
|
|
depends="libconfig++>=${version}_${revision}"
|
|
|
|
short_desc="C++ Configuration File Library - development files"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include/libconfig.h++
|
|
|
|
vmove usr/lib/pkgconfig/libconfig++.pc
|
2014-06-05 00:08:20 +02:00
|
|
|
vmove usr/lib/libconfig++.a
|
|
|
|
vmove usr/lib/libconfig++.so
|
2013-04-13 10:15:49 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
libconfig-devel_package() {
|
2014-06-05 00:08:20 +02:00
|
|
|
depends="libconfig>=${version}_${revision}"
|
2014-01-01 16:10:11 +01:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-06-05 00:08:20 +02:00
|
|
|
vmove usr/lib/libconfig.a
|
|
|
|
vmove usr/lib/libconfig.so
|
2013-04-13 10:15:49 +02:00
|
|
|
vmove usr/share
|
|
|
|
}
|
|
|
|
}
|