From 5fd993f71518461933fef276ffb2f39146473d56 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 4 Jan 2013 11:23:35 +0100 Subject: [PATCH] New package: libconfig-1.4.8. --- common/shlibs | 2 ++ srcpkgs/libconfig++ | 1 + srcpkgs/libconfig++-devel | 1 + srcpkgs/libconfig-devel | 1 + srcpkgs/libconfig/libconfig++-devel.template | 10 ++++++++++ srcpkgs/libconfig/libconfig++.template | 7 +++++++ srcpkgs/libconfig/libconfig-devel.template | 11 +++++++++++ srcpkgs/libconfig/template | 12 ++++++++++++ 8 files changed, 45 insertions(+) create mode 120000 srcpkgs/libconfig++ create mode 120000 srcpkgs/libconfig++-devel create mode 120000 srcpkgs/libconfig-devel create mode 100644 srcpkgs/libconfig/libconfig++-devel.template create mode 100644 srcpkgs/libconfig/libconfig++.template create mode 100644 srcpkgs/libconfig/libconfig-devel.template create mode 100644 srcpkgs/libconfig/template diff --git a/common/shlibs b/common/shlibs index 1f4e3fc375..807c1b7c0d 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1168,3 +1168,5 @@ libjansson.so.4 jansson-2.4_1 libleveldb.so.1 leveldb-1.8.0_1 libcprops.so.15 libcprops-0.1.12_1 libopus.so.0 opus-1.0.2_1 +libconfig++.so.9 libconfig++-1.4.8_1 +libconfig.so.9 libconfig-1.4.8_1 diff --git a/srcpkgs/libconfig++ b/srcpkgs/libconfig++ new file mode 120000 index 0000000000..50f8c38508 --- /dev/null +++ b/srcpkgs/libconfig++ @@ -0,0 +1 @@ +libconfig \ No newline at end of file diff --git a/srcpkgs/libconfig++-devel b/srcpkgs/libconfig++-devel new file mode 120000 index 0000000000..50f8c38508 --- /dev/null +++ b/srcpkgs/libconfig++-devel @@ -0,0 +1 @@ +libconfig \ No newline at end of file diff --git a/srcpkgs/libconfig-devel b/srcpkgs/libconfig-devel new file mode 120000 index 0000000000..50f8c38508 --- /dev/null +++ b/srcpkgs/libconfig-devel @@ -0,0 +1 @@ +libconfig \ No newline at end of file diff --git a/srcpkgs/libconfig/libconfig++-devel.template b/srcpkgs/libconfig/libconfig++-devel.template new file mode 100644 index 0000000000..e54af542f7 --- /dev/null +++ b/srcpkgs/libconfig/libconfig++-devel.template @@ -0,0 +1,10 @@ +# Template file for 'libconfig++-devel'. +# +depends="libconfig++>=${version}" +short_desc="C++ Configuration File Library -- development files" + +do_install() { + vmove usr/include/libconfig.h++ usr/include + vmove usr/lib/pkgconfig/libconfig++.pc usr/lib/pkgconfig + vmove "usr/lib/libconfig++.a" usr/lib +} diff --git a/srcpkgs/libconfig/libconfig++.template b/srcpkgs/libconfig/libconfig++.template new file mode 100644 index 0000000000..e309f13e10 --- /dev/null +++ b/srcpkgs/libconfig/libconfig++.template @@ -0,0 +1,7 @@ +# Template file for 'libconfig++'. +# +short_desc="C++ Configuration File Library" + +do_install() { + vmove "usr/lib/libconfig++.so*" usr/lib +} diff --git a/srcpkgs/libconfig/libconfig-devel.template b/srcpkgs/libconfig/libconfig-devel.template new file mode 100644 index 0000000000..6823bdadaa --- /dev/null +++ b/srcpkgs/libconfig/libconfig-devel.template @@ -0,0 +1,11 @@ +# Template file for 'libconfig-devel'. +# +depends="libconfig>=${version}" +short_desc="${short_desc} -- development files" + +do_install() { + vmove usr/include usr + vmove usr/lib/pkgconfig usr/lib + vmove "usr/lib/libconfig.a" usr/lib + vmove usr/share usr +} diff --git a/srcpkgs/libconfig/template b/srcpkgs/libconfig/template new file mode 100644 index 0000000000..cec9269197 --- /dev/null +++ b/srcpkgs/libconfig/template @@ -0,0 +1,12 @@ +# Template file for 'libconfig' +pkgname=libconfig +version=1.4.8 +revision=1 +build_style=gnu-configure +subpackages="${pkgname}++ ${pkgname}++-devel ${pkgname}-devel" +short_desc="C Configuration File Library" +maintainer="Juan RP " +homepage="http://hyperrealm.com/libconfig/libconfig.html" +license="LGPL-2.1" +distfiles="http://www.hyperrealm.com/libconfig/${pkgname}-${version}.tar.gz" +checksum=18b1509fbf438a8c7f9b0af32284e458189b5f6dfd044f898926109f3c3c01ed