[csw-devel] SF.net SVN: gar:[20853] csw/mgar/pkg/cpan/XML-LibXML/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Tue Apr 23 17:44:03 CEST 2013


Revision: 20853
          http://gar.svn.sourceforge.net/gar/?rev=20853&view=rev
Author:   dmichelsen
Date:     2013-04-23 15:44:02 +0000 (Tue, 23 Apr 2013)
Log Message:
-----------
cpan/XML-LibXML/trunk: Update to 2.0016, registration and makemake

Modified Paths:
--------------
    csw/mgar/pkg/cpan/XML-LibXML/trunk/Makefile
    csw/mgar/pkg/cpan/XML-LibXML/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/cpan/XML-LibXML/trunk/files/CSWpm-xml-libxml.postinstall
    csw/mgar/pkg/cpan/XML-LibXML/trunk/files/CSWpm-xml-libxml.preremove

Removed Paths:
-------------
    csw/mgar/pkg/cpan/XML-LibXML/trunk/files/CSWpmxmllibxml.postinstall

Modified: csw/mgar/pkg/cpan/XML-LibXML/trunk/Makefile
===================================================================
--- csw/mgar/pkg/cpan/XML-LibXML/trunk/Makefile	2013-04-23 15:02:00 UTC (rev 20852)
+++ csw/mgar/pkg/cpan/XML-LibXML/trunk/Makefile	2013-04-23 15:44:02 UTC (rev 20853)
@@ -1,36 +1,37 @@
 NAME = XML-LibXML
-VERSION = 1.70
+VERSION = 2.0016
 CATEGORIES = cpan
 GARTYPE = v2
-AUTHOR = PAJAS
+AUTHOR = SHLOMIF
 
-DESCRIPTION = binding for libxml2
+DESCRIPTION = Interface to Gnome libxml2 xml parsing and DOM library
 define BLURB
-  This module is an interface to the gnome libxml2 DOM and SAX parser and the
-  DOM tree. It also provides an XML::XPath-like findnodes() interface,
-  providing access to the XPath API in libxml2. The module is split into
-  several packages which are not described in this section.
 endef
 
-DISTFILES += CSWpmxmllibxml.postinstall
+DISTFILES += CSWpm-xml-libxml.postinstall
+DISTFILES += CSWpm-xml-libxml.preremove
 
-PACKAGES  = CSWpmxmllibxml CSWpmxmllibxmlcom
-CATALOGNAME_CSWpmxmllibxml = pm_xmllibxml
-SPKG_DESC_CSWpmxmllibxml = Binding for libxml2
-CATALOGNAME_CSWpmxmllibxmlcom = pm_xmllibxmlcom
-SPKG_DESC_CSWpmxmllibxmlcom = Constants and Character Encoding Routines
-PKGFILES_CSWpmxmllibxmlcom = this-is-just-an-empty-stub
-ARCHALL_CSWpmxmllibxmlcom = 1
+CATALOG_RELEASE = unstable
 
-RUNTIME_DEP_PKGS_CSWpmxmllibxml += CSWiconv 
-RUNTIME_DEP_PKGS_CSWpmxmllibxml += CSWzlib 
-RUNTIME_DEP_PKGS_CSWpmxmllibxml += CSWpmxmlnssupp 
-RUNTIME_DEP_PKGS_CSWpmxmllibxml += CSWpmxmlsax 
-RUNTIME_DEP_PKGS_CSWpmxmllibxml += CSWlibxml2 
-RUNTIME_DEP_PKGS_CSWpmxmllibxml += CSWlibxml2devel
-BUILD_DEP_PKGS_CSWpmxmllibxml = $(RUNTIME_DEP_PKGS_CSWpmxmllibxml)
-RUNTIME_DEP_PKGS_CSWpmxmllibxmlcom = CSWpmxmllibxml
+LICENSE = LICENSE
 
+BUILD_DEP_PKGS += CSWpm-devel-checklib
+
+PACKAGES += CSWpm-xml-libxml
+CATALOGNAME_CSWpm-xml-libxml = pm_xml_libxml
+SPKG_DESC_CSWpm-xml-libxml = Interface to Gnome libxml2 xml parsing and DOM library
+RUNTIME_DEP_PKGS_CSWpm-xml-libxml += CSWpm-xml-sax
+RUNTIME_DEP_PKGS_CSWpm-xml-libxml += CSWpm-xml-namespacesupport
+RUNTIME_DEP_PKGS_CSWpm-xml-libxml += CSWlibxml2-2
+OBSOLETED_BY_CSWpm-xml-libxml += CSWpmxmllibxml
+CATALOGNAME_CSWpmxmllibxml = pm_xmllibxml_stub
+
 CONFIGURE_ENV += SKIP_SAX_INSTALL=1
+CONFIGURE_ENV += XMLPREFIX="$(prefix)"
+CONFIGURE_ENV += LD_OPTIONS="$(LD_OPTIONS)"
 
+# This crappy check_lib bails out on -R
+CONFIGURE_ARGS += LIBS="$(filter-out -R%,$(shell $(bindir)/xml2-config --libs))"
+CONFIGURE_ARGS += INC="$(shell $(bindir)/xml2-config --cflags)"
+
 include gar/category.mk

Modified: csw/mgar/pkg/cpan/XML-LibXML/trunk/checksums
===================================================================
--- csw/mgar/pkg/cpan/XML-LibXML/trunk/checksums	2013-04-23 15:02:00 UTC (rev 20852)
+++ csw/mgar/pkg/cpan/XML-LibXML/trunk/checksums	2013-04-23 15:44:02 UTC (rev 20853)
@@ -1,2 +1 @@
-b2099f1674f4b660aeacfd8d4775d989  CSWpmxmllibxml.postinstall
-33d4294f708e20c298cfe534d1166844  XML-LibXML-1.70.tar.gz
+d3bbc3437f6b39eca5825e9d0b0c187a  XML-LibXML-2.0016.tar.gz

Copied: csw/mgar/pkg/cpan/XML-LibXML/trunk/files/CSWpm-xml-libxml.postinstall (from rev 20754, csw/mgar/pkg/cpan/XML-LibXML/trunk/files/CSWpmxmllibxml.postinstall)
===================================================================
--- csw/mgar/pkg/cpan/XML-LibXML/trunk/files/CSWpm-xml-libxml.postinstall	                        (rev 0)
+++ csw/mgar/pkg/cpan/XML-LibXML/trunk/files/CSWpm-xml-libxml.postinstall	2013-04-23 15:44:02 UTC (rev 20853)
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+CHROOTDIR=${BASEDIR:-/}
+
+echo
+echo Registering XML parser XML::LibXML::SAX::Parser and XML::LibXML::SAX
+echo 
+
+${BASEDIR}/usr/sbin/chroot ${CHROOTDIR} /opt/csw/bin/perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX::Parser))->save_parsers()"
+${BASEDIR}/usr/sbin/chroot ${CHROOTDIR} /opt/csw/bin/perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX))->save_parsers()"
+
+exit 0

Copied: csw/mgar/pkg/cpan/XML-LibXML/trunk/files/CSWpm-xml-libxml.preremove (from rev 20846, csw/mgar/pkg/cpan/XML-SAX/trunk/files/CSWpm-xml-sax.preremove)
===================================================================
--- csw/mgar/pkg/cpan/XML-LibXML/trunk/files/CSWpm-xml-libxml.preremove	                        (rev 0)
+++ csw/mgar/pkg/cpan/XML-LibXML/trunk/files/CSWpm-xml-libxml.preremove	2013-04-23 15:44:02 UTC (rev 20853)
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+CHROOTDIR=${BASEDIR:-/}
+
+echo
+echo Unregistering XML parser XML::LibXML::SAX::Parser and XML::LibXML::SAX
+echo 
+
+${BASEDIR}/usr/sbin/chroot ${CHROOTDIR} /opt/csw/bin/perl -MXML::SAX -e "XML::SAX->remove_parser(q(XML::LibXML::SAX::Parser))->save_parsers()"
+${BASEDIR}/usr/sbin/chroot ${CHROOTDIR} /opt/csw/bin/perl -MXML::SAX -e "XML::SAX->remove_parser(q(XML::LibXML::SAX))->save_parsers()"
+
+exit 0

Deleted: csw/mgar/pkg/cpan/XML-LibXML/trunk/files/CSWpmxmllibxml.postinstall
===================================================================
--- csw/mgar/pkg/cpan/XML-LibXML/trunk/files/CSWpmxmllibxml.postinstall	2013-04-23 15:02:00 UTC (rev 20852)
+++ csw/mgar/pkg/cpan/XML-LibXML/trunk/files/CSWpmxmllibxml.postinstall	2013-04-23 15:44:02 UTC (rev 20853)
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-cat <<EoF
-===========NOTICE===========
-To register this parser, please issue
-
-/opt/csw/bin/perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers();"
-
-============================
-EoF

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