summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Veller <tove@gentoo.org>2008-08-23 12:16:56 +0000
committerTorsten Veller <tove@gentoo.org>2008-08-23 12:16:56 +0000
commit5454557826adc25d7cf6c202a7453d4c4aa9dafa (patch)
tree11802410576f5e3e91e3c5f371b86d96eac0ecb6 /dev-perl/XML-SAX-Expat
parentAdjust CMake dependency, bug #233300. (diff)
downloadhistorical-5454557826adc25d7cf6c202a7453d4c4aa9dafa.tar.gz
historical-5454557826adc25d7cf6c202a7453d4c4aa9dafa.tar.bz2
historical-5454557826adc25d7cf6c202a7453d4c4aa9dafa.zip
Initial commit for (#168994,#230710). Thanks to Martin von Gagern
Package-Manager: portage-2.2_rc8/cvs/Linux 2.6.26-tuxonice i686
Diffstat (limited to 'dev-perl/XML-SAX-Expat')
-rw-r--r--dev-perl/XML-SAX-Expat/ChangeLog10
-rw-r--r--dev-perl/XML-SAX-Expat/Manifest14
-rw-r--r--dev-perl/XML-SAX-Expat/XML-SAX-Expat-0.40.ebuild52
-rw-r--r--dev-perl/XML-SAX-Expat/metadata.xml5
4 files changed, 81 insertions, 0 deletions
diff --git a/dev-perl/XML-SAX-Expat/ChangeLog b/dev-perl/XML-SAX-Expat/ChangeLog
new file mode 100644
index 000000000000..c773de2ad28a
--- /dev/null
+++ b/dev-perl/XML-SAX-Expat/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-perl/XML-SAX-Expat
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/XML-SAX-Expat/ChangeLog,v 1.1 2008/08/23 12:16:56 tove Exp $
+
+*XML-SAX-Expat-0.40 (23 Aug 2008)
+
+ 23 Aug 2008; Torsten Veller <tove@gentoo.org> +metadata.xml,
+ +XML-SAX-Expat-0.40.ebuild:
+ Initial commit for (#168994,#230710). Thanks to Martin von Gagern
+
diff --git a/dev-perl/XML-SAX-Expat/Manifest b/dev-perl/XML-SAX-Expat/Manifest
new file mode 100644
index 000000000000..42bba05252ff
--- /dev/null
+++ b/dev-perl/XML-SAX-Expat/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST XML-SAX-Expat-0.40.tar.gz 6510 RMD160 fd0452bc817b55607ebbb4e8de017c6fd99ecaea SHA1 3fdbd7b5e83216bb24d1e83ff3a6c17fcde9ba3f SHA256 4b477dd7afba6e8d3f6117a28a2012381f8635e5cfb996d3cd4d0ee624c39930
+EBUILD XML-SAX-Expat-0.40.ebuild 1255 RMD160 7bc464b9435cd479cd12b8c9fd208106206b093e SHA1 6a76afa5b40d74a24c2f43d608a9f5f90b63d767 SHA256 74f3b4c102fa91fa12f7c2e6856772c46b052abe6f6dd61fd974c35ca83385c0
+MISC ChangeLog 412 RMD160 2f1d679c66fb17e6f92da41b87ac571585984e58 SHA1 5e09f57875774632abe6a589754aa66d5f8e097e SHA256 1b4ffbffffc47763a70e976795449e5daf7db079eb63f8d63a08bff2793c6183
+MISC metadata.xml 158 RMD160 03e4d8164c58bc61660cbaf489d4e3652de0feb7 SHA1 9a84117c6fb70288426e20c84deaf16f4381a549 SHA256 1fef4c0af5f71b777110f54d9dfbd27d6c85c750fca007f4a2fb38345ebbb710
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAkiv/7AACgkQV3J2n04Eaux7ZACfX6FwCk/sMZAmZJ/KzYUJh+v3
+YVMAn1Icnam7XamZRDbJAD3L0xKm35ir
+=dVT3
+-----END PGP SIGNATURE-----
diff --git a/dev-perl/XML-SAX-Expat/XML-SAX-Expat-0.40.ebuild b/dev-perl/XML-SAX-Expat/XML-SAX-Expat-0.40.ebuild
new file mode 100644
index 000000000000..e12956985dfc
--- /dev/null
+++ b/dev-perl/XML-SAX-Expat/XML-SAX-Expat-0.40.ebuild
@@ -0,0 +1,52 @@
+# 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-Expat/XML-SAX-Expat-0.40.ebuild,v 1.1 2008/08/23 12:16:56 tove Exp $
+
+MODULE_AUTHOR=BJOERN
+inherit perl-module
+
+DESCRIPTION="SAX2 Driver for Expat"
+LICENSE="|| ( Artistic GPL-2 )"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="test"
+
+RDEPEND=">=dev-perl/XML-SAX-0.15-r1
+ >=dev-perl/XML-NamespaceSupport-1.09
+ dev-perl/XML-Parser
+ dev-lang/perl"
+DEPEND="${RDEPEND}
+ test? ( dev-perl/Test-Pod
+ dev-perl/Test-Pod-Coverage )"
+
+SRC_TEST=do
+
+src_compile() {
+ export SKIP_SAX_INSTALL=1
+ perl-module_src_compile
+}
+
+pkg_postinst() {
+ perl-module_pkg_postinst
+ pkg_update_parser add XML::SAX::Expat
+}
+
+pkg_postrm() {
+ perl-module_pkg_postrm
+ pkg_update_parser remove XML::SAX::Expat
+}
+
+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
+}
diff --git a/dev-perl/XML-SAX-Expat/metadata.xml b/dev-perl/XML-SAX-Expat/metadata.xml
new file mode 100644
index 000000000000..801e9385a1e0
--- /dev/null
+++ b/dev-perl/XML-SAX-Expat/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>perl</herd>
+</pkgmetadata>