summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@gentoo.org>2011-08-14 05:21:55 +0000
committerNirbheek Chauhan <nirbheek@gentoo.org>2011-08-14 05:21:55 +0000
commitb5cb76657e56cd1ec81139a18fc112ab73807283 (patch)
tree8ec671fb043d4baa779a675cadf44e3c760f81dd /dev-libs/libxslt
parentUSE=static-libs support, bug 378221 (diff)
downloadhistorical-b5cb76657e56cd1ec81139a18fc112ab73807283.tar.gz
historical-b5cb76657e56cd1ec81139a18fc112ab73807283.tar.bz2
historical-b5cb76657e56cd1ec81139a18fc112ab73807283.zip
USE=static-libs support, bug 378253
Package-Manager: portage-2.2.0_alpha39_p14/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/libxslt')
-rw-r--r--dev-libs/libxslt/ChangeLog8
-rw-r--r--dev-libs/libxslt/Manifest23
-rw-r--r--dev-libs/libxslt/libxslt-1.1.26-r2.ebuild124
3 files changed, 153 insertions, 2 deletions
diff --git a/dev-libs/libxslt/ChangeLog b/dev-libs/libxslt/ChangeLog
index f5f0552c169e..a76fc842306b 100644
--- a/dev-libs/libxslt/ChangeLog
+++ b/dev-libs/libxslt/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/libxslt
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxslt/ChangeLog,v 1.214 2011/03/18 17:30:53 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxslt/ChangeLog,v 1.215 2011/08/14 05:21:55 nirbheek Exp $
+
+*libxslt-1.1.26-r2 (14 Aug 2011)
+
+ 14 Aug 2011; Nirbheek Chauhan <nirbheek@gentoo.org>
+ +libxslt-1.1.26-r2.ebuild:
+ USE=static-libs support, bug 378253
18 Mar 2011; Raúl Porcel <armin76@gentoo.org> libxslt-1.1.26-r1.ebuild:
arm/ia64/s390/sh/sparc stable wrt #358615
diff --git a/dev-libs/libxslt/Manifest b/dev-libs/libxslt/Manifest
index f7621e7ba980..6c1f7ff1907d 100644
--- a/dev-libs/libxslt/Manifest
+++ b/dev-libs/libxslt/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX libxslt-1.1.23-parallel-install.patch 578 RMD160 b944d9886516e676ec60f7657011d524bff5bba5 SHA1 716cfb859d93acf7b6e5c411e65a7842f396066a SHA256 9b2fa23d7a4fef60c8acec7e8003bc42f4a4c9c1dbd5e035aa54af3e8ccecd5a
AUX libxslt-1.1.26-disable_static_modules.patch 318 RMD160 cd8edd28bcb5e9b6783718d6716889089325f1b2 SHA1 a75381f44e213170d863d7ad4073a33dbed29513 SHA256 6c08da472bd1d48af1aab88619e460ad17f56c49bfaa00ccbfd8acf9212c5e80
AUX libxslt-1.1.26-id-generation.patch 1733 RMD160 14d678e21f938408e25c325ebbdc45e74eeaf16e SHA1 f9a54b217993e057fde9729d25a4e8caf587303b SHA256 19ce8384b8dbe088c7349113e7769c3c735edabe1d54f3182b7f9627eea1532a
@@ -5,6 +8,24 @@ AUX libxslt-1.1.26-undefined.patch 616 RMD160 571771b9fd262df841442b4d8b0db19225
AUX libxslt.m4-libxslt-1.1.26.patch 1421 RMD160 f54116e3871afaa97daf5bbb832f2147d395077b SHA1 cdf3aa89083371b45e88c67cc53b9303cd13f2f8 SHA256 c02cd8437064db0921c08e63245c403dad12410d2997715aa7aa36600bfaa895
DIST libxslt-1.1.26.tar.gz 3401513 RMD160 fc7630352ae5772d25fc8132a373d477fb8d8d5f SHA1 69f74df8228b504a87e2b257c2d5238281c65154 SHA256 55dd52b42861f8a02989d701ef716d6280bfa02971e967c285016f99c66e3db1
EBUILD libxslt-1.1.26-r1.ebuild 2732 RMD160 0d6c6a7fecdf19935242bbff46f4e6bf2837df7e SHA1 78bcac0c87e60af49b7e3595d346c4cf4ec951a5 SHA256 ca80c30cc766560ae6886da21dba2ec0ed9f174a2b1256de08dbe9efe9b5f90b
+EBUILD libxslt-1.1.26-r2.ebuild 2932 RMD160 01ac21a7d9aa06326d38e7b2732f34b2c0d86567 SHA1 c5f625c294415b173f7272d89ab808fe87c5accb SHA256 2d5f7f6ca672b59a6bec41872f76b7cdbe0d91ecc65ae199467c93a14e1918d2
EBUILD libxslt-1.1.26.ebuild 2614 RMD160 fb13a7864b6c785732691a21c7ad86048ccaf650 SHA1 55506f20cf1021aa22be5a2062d44887c22e13f3 SHA256 cad49eb49e3f684b91fd0a60a6ece3a1c369d4f7588f7bd00c32efac493bec3a
-MISC ChangeLog 25648 RMD160 b7d9c6c620634c541a369265ea06cd53b67893aa SHA1 9c97040056577b8504b4370ef0897c58be0ded6e SHA256 44827cdecabf6a0b391c9bbcef57c1dd89e84932aa263847e0727e60bef55366
+MISC ChangeLog 25805 RMD160 cc44583fe823f2659acc968ee92e758a7480ae68 SHA1 70e37c3301f085bf77f4bdcf3932fbdf70c67d36 SHA256 8ea137425b023551d3743c632c919c264de2b3249654d1a2b115492225b775a4
MISC metadata.xml 158 RMD160 c0e2bae8e91bb6be8922bac5e4f597302e06587e SHA1 38f78e9790bcd4382b4a49aa226aa6dda1d3a3d7 SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iQIcBAEBAgAGBQJOR1t4AAoJEO/kOhxWD91kyFQP/jtWtFjLjvQKK8hYPDZs2y57
+estD4FdH/4iuPitXn1ywUM7FJg4OiY5n3usGJJXlybDqjm89kUVlyscCc+uEqN+H
+idnm8tnYOuAq6Wci58wuiXckgGcd+WwaDwcWFnZw6kx5g9MEWdyq1+YU2R3izc0r
+pPDVMoiCJwHW845/nRBxGHs/ipKUfJw8pD7beM9nSZA08ij+4CH0T5AYtRqKM/Nj
++GDHjod1VIAhm6yFLAAngcTACmsJTwNFKCr9sFmnp74KZQ3aHdtRRULGz3m2lHS7
+TCsVgLMl2bqjzspF35S/7LF6nGf97ab7s9NG0yB4dCPj6CU8TXYBsxig7/xwWkwB
+uSEoOeUoXSJkIwOCqWwgL0Zo+w8OTTVv+jxRepH/Qom08oPyc/FLF6v/Mq1/Ix6P
+OQCQZUKQg/NVABFRK6kV0GhJGijZVcl8+iocAZCFZ7dUaBNCGBP7JsRo2tNcT5jG
+hDeXCPqGrBBrIniilmwAneeY98yM27KU0Gu9eIH5oMIQjzUKqMPJFPi3ysgpoxN6
+66hCYbJOeo5MsOATBW7hSNe1ilU3ie+bJtSCIyttljk9+77F8RZ1qw8qdLa7OQzo
++96ZkEpqUqDV2L914LvulSCSJe8szyVHIK7ACncnujktKGIZytMcJkrgsoN4OYXD
+9tzU8FMVNuPEyB17Vw5/
+=Ooxy
+-----END PGP SIGNATURE-----
diff --git a/dev-libs/libxslt/libxslt-1.1.26-r2.ebuild b/dev-libs/libxslt/libxslt-1.1.26-r2.ebuild
new file mode 100644
index 000000000000..d8e90ac313fa
--- /dev/null
+++ b/dev-libs/libxslt/libxslt-1.1.26-r2.ebuild
@@ -0,0 +1,124 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxslt/libxslt-1.1.26-r2.ebuild,v 1.1 2011/08/14 05:21:55 nirbheek Exp $
+
+EAPI="3"
+PYTHON_DEPEND="python? 2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.* *-jython"
+
+inherit autotools eutils python toolchain-funcs
+
+DESCRIPTION="XSLT libraries and tools"
+HOMEPAGE="http://www.xmlsoft.org/"
+SRC_URI="ftp://xmlsoft.org/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
+IUSE="crypt debug python static-libs"
+
+DEPEND=">=dev-libs/libxml2-2.6.27:2
+ crypt? ( >=dev-libs/libgcrypt-1.1.42 )"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ if use python; then
+ python_pkg_setup
+ fi
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/libxslt.m4-${P}.patch \
+ "${FILESDIR}"/${PN}-1.1.23-parallel-install.patch \
+ "${FILESDIR}"/${P}-undefined.patch \
+ "${FILESDIR}"/${P}-disable_static_modules.patch
+
+ # Python bindings are built/tested/installed manually.
+ sed -e "s/@PYTHON_SUBDIR@//" -i Makefile.am || die "sed failed"
+
+ # Fix generate-id() to not expose object addresses, bug #358615
+ epatch "${FILESDIR}/${P}-id-generation.patch"
+
+ eautoreconf
+ epunt_cxx
+}
+
+src_configure() {
+ # libgcrypt is missing pkg-config file, so fixing cross-compile
+ # here. see bug 267503.
+ if tc-is-cross-compiler; then
+ export LIBGCRYPT_CONFIG="${SYSROOT}/usr/bin/libgcrypt-config"
+ fi
+
+ econf \
+ --disable-dependency-tracking \
+ --with-html-dir=/usr/share/doc/${PF} \
+ --with-html-subdir=html \
+ $(use_with crypt crypto) \
+ $(use_with python) \
+ $(use_with debug) \
+ $(use_with debug mem-debug) \
+ $(use_enable static-libs static)
+}
+
+src_compile() {
+ default
+
+ if use python; then
+ python_copy_sources python
+ building() {
+ emake PYTHON_INCLUDES="$(python_get_includedir)" \
+ PYTHON_SITE_PACKAGES="$(python_get_sitedir)" \
+ PYTHON_VERSION="$(python_get_version)"
+ }
+ python_execute_function -s --source-dir python building
+ fi
+}
+
+src_test() {
+ default
+
+ if use python; then
+ testing() {
+ emake test
+ }
+ python_execute_function -s --source-dir python testing
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ if use python; then
+ installation() {
+ emake DESTDIR="${D}" \
+ PYTHON_SITE_PACKAGES="$(python_get_sitedir)" \
+ install
+ }
+ python_execute_function -s --source-dir python installation
+
+ python_clean_installation_image
+ fi
+
+ mv -vf "${ED}"/usr/share/doc/${PN}-python-${PV} \
+ "${ED}"/usr/share/doc/${PF}/python
+ dodoc AUTHORS ChangeLog FEATURES NEWS README TODO || die
+
+ if ! use static-libs; then
+ # Remove useless .la files
+ find "${D}" -name '*.la' -exec rm -f {} + || die "la file removal failed"
+ fi
+}
+
+pkg_postinst() {
+ if use python; then
+ python_mod_optimize libxslt.py
+ fi
+}
+
+pkg_postrm() {
+ if use python; then
+ python_mod_cleanup libxslt.py
+ fi
+}