2010-11-11 01:13:59 +00:00
|
|
|
# Template build file for 'libxml++'.
|
|
|
|
pkgname=libxml++
|
2015-03-01 11:21:04 +00:00
|
|
|
version=2.38.0
|
|
|
|
revision=1
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2014-02-21 10:35:02 +00:00
|
|
|
hostmakedepends="pkg-config perl"
|
|
|
|
makedepends="libsigc++-devel libxml2-devel libglib-devel glibmm-devel"
|
2010-11-11 01:13:59 +00:00
|
|
|
short_desc="C++ bindings for libxml2"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2012-11-05 09:15:01 +00:00
|
|
|
homepage="http://libxmlplusplus.sourceforge.net/"
|
|
|
|
license="LGPL-2.1"
|
2015-03-01 11:21:04 +00:00
|
|
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
|
|
checksum=5698b03f5d320fb8310e30780e328f03debca12c557434ee031aea9baf3b1346
|
2011-05-05 09:39:02 +00:00
|
|
|
|
2012-11-05 09:15:01 +00:00
|
|
|
pre_install() {
|
2011-05-05 09:39:02 +00:00
|
|
|
sed -i -e 's/install-data-am: install-data-local install-dist_referenceDATA/install-data-am: /' Makefile
|
|
|
|
}
|
2013-04-13 08:15:49 +00:00
|
|
|
|
|
|
|
libxml++-devel_package() {
|
2015-03-01 11:21:04 +00:00
|
|
|
depends="${makedepends} ${sourcepkg}>=${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
|
|
|
|
vmove usr/lib/libxml++-2.6/include
|
2014-02-21 10:35:02 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 08:15:49 +00:00
|
|
|
}
|
|
|
|
}
|