summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Veller <tove@gentoo.org>2008-08-24 08:48:50 +0000
committerTorsten Veller <tove@gentoo.org>2008-08-24 08:48:50 +0000
commit9951f6ba10d97aee4186eabac876e8b3d3571853 (patch)
tree45cafb64d4f214cf85628deb9d9a834b93e7e2d5 /dev-perl
parentVersion bump (diff)
downloadgentoo-2-9951f6ba10d97aee4186eabac876e8b3d3571853.tar.gz
gentoo-2-9951f6ba10d97aee4186eabac876e8b3d3571853.tar.bz2
gentoo-2-9951f6ba10d97aee4186eabac876e8b3d3571853.zip
Version bump
(Portage version: 2.2_rc8/cvs/Linux 2.6.26-tuxonice i686)
Diffstat (limited to 'dev-perl')
-rw-r--r--dev-perl/XML-SAX/ChangeLog7
-rw-r--r--dev-perl/XML-SAX/XML-SAX-0.96.ebuild50
2 files changed, 56 insertions, 1 deletions
diff --git a/dev-perl/XML-SAX/ChangeLog b/dev-perl/XML-SAX/ChangeLog
index 492d08dcfdfc..5d57e040672c 100644
--- a/dev-perl/XML-SAX/ChangeLog
+++ b/dev-perl/XML-SAX/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-perl/XML-SAX
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/XML-SAX/ChangeLog,v 1.61 2008/03/28 09:08:11 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/XML-SAX/ChangeLog,v 1.62 2008/08/24 08:48:50 tove Exp $
+
+*XML-SAX-0.96 (24 Aug 2008)
+
+ 24 Aug 2008; Torsten Veller <tove@gentoo.org> +XML-SAX-0.96.ebuild:
+ Version bump
28 Mar 2008; Jeroen Roovers <jer@gentoo.org> XML-SAX-0.16.ebuild:
Stable for HPPA too.
diff --git a/dev-perl/XML-SAX/XML-SAX-0.96.ebuild b/dev-perl/XML-SAX/XML-SAX-0.96.ebuild
new file mode 100644
index 000000000000..97b0cc50bbb0
--- /dev/null
+++ b/dev-perl/XML-SAX/XML-SAX-0.96.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/XML-SAX/XML-SAX-0.96.ebuild,v 1.1 2008/08/24 08:48:50 tove Exp $
+
+MODULE_AUTHOR=GRANTM
+inherit perl-module eutils
+
+DESCRIPTION="Perl module for using and building Perl SAX2 XML parsers, filters, and drivers"
+
+LICENSE="|| ( Artistic GPL-2 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND=">=dev-perl/XML-NamespaceSupport-1.04
+ >=dev-libs/libxml2-2.4.1
+ dev-lang/perl"
+
+SRC_TEST="do"
+
+src_unpack() {
+ local installvendorlib
+ eval $(perl '-V:installvendorlib')
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e 's/if (\$write_ini_ok)/if (0 \&\& $write_ini_ok)/' \
+ Makefile.PL || die
+ epatch "${FILESDIR}"/encodings.patch
+}
+
+pkg_postinst() {
+ perl-module_pkg_postinst
+ pkg_update_parser add XML::SAX::PurePerl
+}
+
+pkg_update_parser() {
+ # pkg_update_parser [add|remove] $parser_module
+ local action=$1
+ local parser_module=$2
+
+ if [[ "$ROOT" = "/" ]] ; then
+ einfo "Update Parser: $1 $2"
+ perl -MXML::SAX -e "XML::SAX->${action}_parser(q(${parser_module}))->save_parsers()" \
+ || ewarn "Update Parser: $1 $2 failed"
+ else
+ elog "To $1 $2 run:"
+ elog "perl -MXML::SAX -e 'XML::SAX->${action}_parser(q(${parser_module}))->save_parsers()'"
+ fi
+}