[csw-devel] SF.net SVN: gar:[20846] csw/mgar/pkg/cpan/XML-SAX/trunk
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Tue Apr 23 13:43:23 CEST 2013
Revision: 20846
http://gar.svn.sourceforge.net/gar/?rev=20846&view=rev
Author: dmichelsen
Date: 2013-04-23 11:43:23 +0000 (Tue, 23 Apr 2013)
Log Message:
-----------
cpan/XML-SAX/trunk: Add correct registration of SAX parser
Modified Paths:
--------------
csw/mgar/pkg/cpan/XML-SAX/trunk/Makefile
Added Paths:
-----------
csw/mgar/pkg/cpan/XML-SAX/trunk/files/CSWpm-xml-sax.postinstall
csw/mgar/pkg/cpan/XML-SAX/trunk/files/CSWpm-xml-sax.preremove
Modified: csw/mgar/pkg/cpan/XML-SAX/trunk/Makefile
===================================================================
--- csw/mgar/pkg/cpan/XML-SAX/trunk/Makefile 2013-04-23 11:13:04 UTC (rev 20845)
+++ csw/mgar/pkg/cpan/XML-SAX/trunk/Makefile 2013-04-23 11:43:23 UTC (rev 20846)
@@ -8,6 +8,9 @@
define BLURB
endef
+DISTFILES += CSWpm-xml-sax.postinstall
+DISTFILES += CSWpm-xml-sax.preremove
+
PATCHFILES += 0001-Remove-stuff-that-ignores-DESTDIR.patch
CATALOG_RELEASE = unstable
Copied: csw/mgar/pkg/cpan/XML-SAX/trunk/files/CSWpm-xml-sax.postinstall (from rev 20845, csw/mgar/pkg/cpan/XML-SAX-Expat/trunk/files/CSWpm-xml-sax-expat.postinstall)
===================================================================
--- csw/mgar/pkg/cpan/XML-SAX/trunk/files/CSWpm-xml-sax.postinstall (rev 0)
+++ csw/mgar/pkg/cpan/XML-SAX/trunk/files/CSWpm-xml-sax.postinstall 2013-04-23 11:43:23 UTC (rev 20846)
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+CHROOTDIR=${BASEDIR:-/}
+
+echo
+echo Registering XML parser XML::SAX::PurePerl
+echo
+
+${BASEDIR}/usr/sbin/chroot ${CHROOTDIR} /opt/csw/bin/perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers()"
+
+exit 0
Copied: csw/mgar/pkg/cpan/XML-SAX/trunk/files/CSWpm-xml-sax.preremove (from rev 20845, csw/mgar/pkg/cpan/XML-SAX-Expat/trunk/files/CSWpm-xml-sax-expat.preremove)
===================================================================
--- csw/mgar/pkg/cpan/XML-SAX/trunk/files/CSWpm-xml-sax.preremove (rev 0)
+++ csw/mgar/pkg/cpan/XML-SAX/trunk/files/CSWpm-xml-sax.preremove 2013-04-23 11:43:23 UTC (rev 20846)
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+CHROOTDIR=${BASEDIR:-/}
+
+echo
+echo Unregistering XML parser XML::SAX::PurePerl
+echo
+
+${BASEDIR}/usr/sbin/chroot ${CHROOTDIR} /opt/csw/bin/perl -MXML::SAX -e "XML::SAX->remove_parser(q(XML::SAX::PurePerl))->save_parsers()"
+
+exit 0
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list