diff options
-rw-r--r-- | dev-libs/expat/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/expat/Manifest | 18 | ||||
-rw-r--r-- | dev-libs/expat/expat-2.1.0_beta3.ebuild | 95 |
3 files changed, 112 insertions, 9 deletions
diff --git a/dev-libs/expat/ChangeLog b/dev-libs/expat/ChangeLog index 8a1c549e6bdc..6ecc411291f0 100644 --- a/dev-libs/expat/ChangeLog +++ b/dev-libs/expat/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/expat # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/expat/ChangeLog,v 1.117 2012/03/10 17:51:46 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/expat/ChangeLog,v 1.118 2012/03/11 10:01:20 ssuominen Exp $ + +*expat-2.1.0_beta3 (11 Mar 2012) + + 11 Mar 2012; Samuli Suominen <ssuominen@gentoo.org> + +expat-2.1.0_beta3.ebuild: + Version bump. 10 Mar 2012; Samuli Suominen <ssuominen@gentoo.org> expat-2.1.0_beta2.ebuild, +files/expat-2.1.0_beta2-move_setContext_call.patch: diff --git a/dev-libs/expat/Manifest b/dev-libs/expat/Manifest index 0de19f197fc8..acc2be1734d2 100644 --- a/dev-libs/expat/Manifest +++ b/dev-libs/expat/Manifest @@ -7,19 +7,21 @@ AUX expat-2.0.1-fix_bug_1990430.patch 428 RMD160 7b566a7db9036238a7e781a20157f9b AUX expat-2.1.0_beta2-move_setContext_call.patch 2759 RMD160 482cffb356efb6f4ae1be2c309721536bb5a2995 SHA1 165e2715ce2215eb9629673855259f0830bebbaa SHA256 904cda287821d37a4aebbb5990b5bf8754615b82b82364cb39d255249d453547 DIST expat-2.0.1.tar.gz 446456 RMD160 d31bcb152adaff9e358968be1ea901e1b4ed3b2f SHA1 663548c37b996082db1f2f2c32af060d7aa15c2d SHA256 847660b4df86e707c9150e33cd8c25bc5cd828f708c7418e765e3e983a2e5e93 DIST expat-2.1.0-beta2.tar.gz 561905 RMD160 e02a82f523a5ec455636217460b97a2e3e010b19 SHA1 b81e4b4aa32ef5f429fd4c1a22afdf80415fcecb SHA256 a87f81e6743238cf77c33a4e2e61b9b7c23bcbe58a4e152259aa18203ea39264 +DIST expat-2.1.0-beta3.tar.gz 562612 RMD160 2a03f16494c61fe7eb0e5e3081a4f68f78f3610d SHA1 956e05916d4840c46ca9f5377a01b13cafc4b510 SHA256 69d2ec90d46b1308ffd2f4e8f2f269124951f9c12314d422df8f47fe315f2aa6 EBUILD expat-2.0.1-r5.ebuild 1910 RMD160 99d50a6e17a445d8c67c2f0f9cc33b45b9404c58 SHA1 6a94f680f79235cb0a7889059f769df9e717f3f2 SHA256 d17970310caa1566be1f560e855f6ef88a0ee332c5ecc5609cfc44196d87cfd2 EBUILD expat-2.0.1-r6.ebuild 2275 RMD160 8edfca7f81cfd1ef5cc684e75a52714c190118db SHA1 0a3e82c391be4b077aea7ea23e1c57b5a3395434 SHA256 a6a3a54a15d74d6ef0124debdf34b90dfa5a2101428507baef1a9c505394339f EBUILD expat-2.1.0_beta2.ebuild 2284 RMD160 6f7cbb83a63cc88892c70faf8de5360607c76382 SHA1 d09266eca84028270418ffd8a88ba80faa2c6d80 SHA256 12f049abbec48899e8de523b3e652b8bf6a1d022b9b13d3ec5963d568a7321d0 -MISC ChangeLog 15412 RMD160 6c04dbe8811e63956f1b08d91e52e6f5ceba69b7 SHA1 bb3e1b6dd9e6b891f753df3e0a92d8db40d5b431 SHA256 4b07e1d42e5d3e714f68b03fe37c93188e80a9fc3d9c92d19ebcad43fdd6c90d +EBUILD expat-2.1.0_beta3.ebuild 2221 RMD160 dbb11796b3c58ee8a8b2c02de062ff889b56f203 SHA1 df701fba936c9c4139115f5f1c07dddabebd3c57 SHA256 9d67ff04a6649ef880764f1fa674034456a46db6a65f10e549ce999c65a5f891 +MISC ChangeLog 15546 RMD160 9dbfe93f443a3245a1ec2d233e3cc18de5b8a09b SHA1 0017b779caaa15d8496668ed0ed2be8f93f86843 SHA256 9c0b6bf8746a7eed81d3cd417295be4062f53d3db9906a3f7ec2c3ed79d18b1f MISC metadata.xml 166 RMD160 70f6dcdab1516411ac581b270671fb776401f7b3 SHA1 79f7c7e01fdc4b59d924371b4ec75b000948fecc SHA256 a4f7a9f8f89d2da4f8d0c2d6acdacc96c38d4c076d23d8b2081f2a149ff15a56 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) -iQEcBAEBAgAGBQJPXHWqAAoJEEdUh39IaPFN6/8H+QEbson2zyotmO2LNczoOlcl -y34l2CZ3ltQj367ob8Jqp2tDFt6b6G+QbYwX/qgkXxaFV61w8oNrl9MygSAHPosQ -I9HfgxM4IfFsSo+tBomXd6Uy4UpQiUhFkCwYWnjQdfsyEItH1LL9dhEnSEXYz1Kh -ZidhUhqVWXjETTUE01jeNUStrAiZqmYja/4SCK0iIrY4kS0H9fBihDE2UQJBmqVo -KMq6beoB+uHd4JSucQ+uU55f3BT80jvFol+vCBOKhWFKxI/cGCwP7Vi2ZVfBhlnr -k7x4J9bjVGdM9onecBr1qSAFlzrnVdRRIWsRC0bKG/YtSAx4fEQh+Qllt997QQQ= -=7W7P +iQEcBAEBAgAGBQJPXHb0AAoJEEdUh39IaPFN+6gH/1oya6cOZjRhJEMa2eUKYmIT +Nszn+w9YZ3yj4e5g4cwfaZSERvi6a7CSzjDQ5A0uJi3EQjxQJrKvc1Y0+j6FWNGG +EAzifdQILi2pm8XvKYP1nj/PYRyJNN5uxEhVUaQRjcV+xoFikzUh40vtyrE3T0G9 +/5nmqxLsPYP6QmarR1G3SRFkxjP3whT+9bB3igljLYN9njYtcfAHaPrfZ+2PiQsB +6t59F4pezi65OXvn8aFECwXMoCH8/bWstzSmO5RRuSawmcw1wTgdPtKtT70SzoQO +HQ/6HuVmyp6ztElJC+4DNyHfg1NktAq7QacL+mnSSYwIVPt1Jzu0i+ZgJjZt0+o= +=3wgO -----END PGP SIGNATURE----- diff --git a/dev-libs/expat/expat-2.1.0_beta3.ebuild b/dev-libs/expat/expat-2.1.0_beta3.ebuild new file mode 100644 index 000000000000..a411e4e70745 --- /dev/null +++ b/dev-libs/expat/expat-2.1.0_beta3.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/expat/expat-2.1.0_beta3.ebuild,v 1.1 2012/03/11 10:01:20 ssuominen Exp $ + +EAPI=4 +inherit eutils libtool toolchain-funcs + +DESCRIPTION="XML parsing libraries" +HOMEPAGE="http://expat.sourceforge.net/" +SRC_URI="mirror://sourceforge/expat/${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="elibc_FreeBSD examples static-libs unicode" + +src_unpack() { + if [[ ${PV} == *beta* ]]; then + unpack ${A} + mv ${PN}-* "${S}" + else + default + fi +} + +src_prepare() { + elibtoolize + epunt_cxx + + mkdir "${S}"-build{,u,w} || die +} + +src_configure() { + local myconf="$(use_enable static-libs static)" + + pushd "${S}"-build >/dev/null + ECONF_SOURCE="${S}" econf ${myconf} + popd >/dev/null + + if use unicode; then + pushd "${S}"-buildu >/dev/null + CPPFLAGS="${CPPFLAGS} -DXML_UNICODE" ECONF_SOURCE="${S}" econf ${myconf} + popd >/dev/null + + pushd "${S}"-buildw >/dev/null + CFLAGS="${CFLAGS} -fshort-wchar" CPPFLAGS="${CPPFLAGS} -DXML_UNICODE_WCHAR_T" ECONF_SOURCE="${S}" econf ${myconf} + popd >/dev/null + fi +} + +src_compile() { + pushd "${S}"-build >/dev/null + emake + popd >/dev/null + + if use unicode; then + pushd "${S}"-buildu >/dev/null + emake buildlib LIBRARY=libexpatu.la + popd >/dev/null + + pushd "${S}"-buildw >/dev/null + emake buildlib LIBRARY=libexpatw.la + popd >/dev/null + fi +} + +src_install() { + dodoc Changes README + dohtml doc/* + + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins examples/*.c + fi + + pushd "${S}"-build >/dev/null + emake install DESTDIR="${D}" + popd >/dev/null + + if use unicode; then + pushd "${S}"-buildu >/dev/null + emake installlib DESTDIR="${D}" LIBRARY=libexpatu.la + popd >/dev/null + + pushd "${S}"-buildw >/dev/null + emake installlib DESTDIR="${D}" LIBRARY=libexpatw.la + popd >/dev/null + fi + + rm -f "${ED}"usr/lib*/libexpat{,u,w}.la + + # libgeom in /lib and ifconfig in /sbin require it on FreeBSD since we + # stripped the libbsdxml copy starting from freebsd-lib-8.2-r1 + use elibc_FreeBSD && gen_usr_ldscript -a expat{,u,w} +} |