From c004fc8af0589058f09b7484aee2dcd2b27a724b Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 11 Nov 2010 02:13:59 +0100 Subject: [PATCH] Added libxml++-2.32.0 build template. --- srcpkgs/libxml++-devel | 1 + srcpkgs/libxml++/depends | 2 ++ srcpkgs/libxml++/libxml++-devel.template | 19 +++++++++++++ srcpkgs/libxml++/template | 34 ++++++++++++++++++++++++ xbps-src/common/mapping_shlib_binpkg.txt | 1 + 5 files changed, 57 insertions(+) create mode 120000 srcpkgs/libxml++-devel create mode 100644 srcpkgs/libxml++/depends create mode 100644 srcpkgs/libxml++/libxml++-devel.template create mode 100644 srcpkgs/libxml++/template diff --git a/srcpkgs/libxml++-devel b/srcpkgs/libxml++-devel new file mode 120000 index 0000000000..368c90579e --- /dev/null +++ b/srcpkgs/libxml++-devel @@ -0,0 +1 @@ +libxml++ \ No newline at end of file diff --git a/srcpkgs/libxml++/depends b/srcpkgs/libxml++/depends new file mode 100644 index 0000000000..6a11fcf61d --- /dev/null +++ b/srcpkgs/libxml++/depends @@ -0,0 +1,2 @@ +abi_depends=">=2.32.0" +api_depends="${abi_depends}" diff --git a/srcpkgs/libxml++/libxml++-devel.template b/srcpkgs/libxml++/libxml++-devel.template new file mode 100644 index 0000000000..b552d12606 --- /dev/null +++ b/srcpkgs/libxml++/libxml++-devel.template @@ -0,0 +1,19 @@ +# Template file for 'libxml++-devel'. +# +short_desc="${short_desc} - development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run libxml++ + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib/libxml++-2.6 + + mv ${SRCPKGDESTDIR}/usr/{include,share} ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/libxml++-2.6/include \ + ${DESTDIR}/usr/lib/libxml++-2.6 +} diff --git a/srcpkgs/libxml++/template b/srcpkgs/libxml++/template new file mode 100644 index 0000000000..3474b04493 --- /dev/null +++ b/srcpkgs/libxml++/template @@ -0,0 +1,34 @@ +# Template build file for 'libxml++'. +pkgname=libxml++ +version=2.32.0 +distfiles="${GNOME_SITE}/$pkgname/2.32/$pkgname-$version.tar.bz2" +build_style=gnu_configure +short_desc="C++ bindings for libxml2" +maintainer="Juan RP " +checksum=7989e285ca6fe63379121a2afea8dd4806abef6ecf1cb84f4fc4e9de18b43c25 +long_desc=" + This library allows to manipulate XML files. It includes support + to read, modify and write XML and HTML files. There is DTDs support + this includes parsing and validation even with complex DtDs, either + at parse time or later once the document has been modified. The output + can be a simple SAX stream or and in-memory DOM like representations. + In this case one can use the built-in XPath and XPointer implementation + to select subnodes or ranges. A flexible Input/Output mechanism is + available, with existing HTTP and FTP modules and combined to an + URI library." + +subpackages="$pkgname-devel" + +Add_dependency run libgcc +Add_dependency run glibc +Add_dependency run libstdc++ +Add_dependency run libsigc++ +Add_dependency run libxml2 +Add_dependency run glib +Add_dependency run glibmm + +Add_dependency build pkg-config +Add_dependency build libsigc++-devel +Add_dependency build libxml2-devel +Add_dependency build glib-devel +Add_dependency build glibmm-devel diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index ad3a6085bb..11f62557e7 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -670,3 +670,4 @@ libgarcon-1.so garcon garcon-devel libxfce4ui-1.so libxfce4ui libxfce4ui-devel libxfce4kbd-private-2.so libxfce4ui libxfce4ui-devel libntfs.so.10 ntfsprogs ntfsprogs-devel +libxml++-2.6.so libxml++ libxml++-devel