[csw-devel] SF.net SVN: gar:[21194] csw/mgar/pkg/libxml2/trunk/Makefile

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Sat May 25 13:14:51 CEST 2013


Revision: 21194
          http://gar.svn.sourceforge.net/gar/?rev=21194&view=rev
Author:   wahwah
Date:     2013-05-25 11:14:50 +0000 (Sat, 25 May 2013)
Log Message:
-----------
libxml2/trunk: Group recipe lines by package

Modified Paths:
--------------
    csw/mgar/pkg/libxml2/trunk/Makefile

Modified: csw/mgar/pkg/libxml2/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libxml2/trunk/Makefile	2013-05-25 07:39:14 UTC (rev 21193)
+++ csw/mgar/pkg/libxml2/trunk/Makefile	2013-05-25 11:14:50 UTC (rev 21194)
@@ -12,64 +12,61 @@
 endef
 
 MASTER_SITES = ftp://xmlsoft.org/libxml2/
-DISTFILES = $(NAME)-$(VERSION).tar.gz
+DISTFILES = $(DISTNAME).tar.gz
 # PATCHFILES = 0001-Forcefully-disable-the-symbol-versioning.patch
 
-PACKAGES = CSWlibxml2-2 CSWlibxml2-dev CSWpy-libxml2
+sysconfdir = /etc/opt/csw
+localstatedir = /var/opt/csw
 
-OBSOLETED_BY_CSWlibxml2-2 = CSWlibxml2
-OBSOLETED_BY_CSWpy-libxml2 = CSWpylibxml2
-OBSOLETED_BY_CSWlibxml2-dev = CSWlibxml2devel
+EXTRA_CPPFLAGS  = -DXML_XML_DEFAULT_CATALOG=\\\"$(sysconfdir)/xml/catalog\\\"
+EXTRA_CPPFLAGS += -DXML_SGML_DEFAULT_CATALOG=\\\"$(sysconfdir)/sgml/catalog\\\"
 
-CATALOGNAME_CSWlibxml2-2 = libxml2_2
-CATALOGNAME_CSWlibxml2-dev = libxml2_dev
-CATALOGNAME_CSWpy-libxml2 = py_libxml2
-
-SPKG_DESC_CSWlibxml2-2   = XML Parser Library
-SPKG_DESC_CSWlibxml2-dev = XML Parser Library Developer Files
-SPKG_DESC_CSWpy-libxml2  = XML Parser Library Python Bindings
-
-RUNTIME_DEP_PKGS_CSWlibxml2-2 = CSWiconv CSWzlib
-RUNTIME_DEP_PKGS_CSWlibxml2-dev = CSWlibxml2-2
-RUNTIME_DEP_PKGS_CSWpy-libxml2  = CSWlibpython2-6-1-0 CSWpython CSWlibxml2-2
-RUNTIME_DEP_PKGS_CSWpy-libxml2 += CSWiconv CSWzlib
-
 # We don't have 64 bit Python yet
 CONFIGURE_ARGS_32 = --with-python=$(prefix)
 CONFIGURE_ARGS_64 = --without-python
 
-EXTRA_CPPFLAGS  = -DXML_XML_DEFAULT_CATALOG=\\\"$(sysconfdir)/xml/catalog\\\"
-EXTRA_CPPFLAGS += -DXML_SGML_DEFAULT_CATALOG=\\\"$(sysconfdir)/sgml/catalog\\\"
-
 CONFIGURE_ARGS = $(DIRPATHS) $(CONFIGURE_ARGS_$(MEMORYMODEL))
 
-BUILD64 = 1
+BUILD64_LIBS_ONLY = 1
 
 PYCOMPILE = 1
 
 STRIP_LIBTOOL = 1
 
-# Skip 64 bit binaries - they are just big and gain nothing
-MERGE_SCRIPTS_isa-default64 = copy-relocated-only copy-config-only
-MERGE_DIRS_isa-default64 = $(libdir)
+PACKAGES += CSWlibxml2-2
+OBSOLETED_BY_CSWlibxml2-2 = CSWlibxml2
+SPKG_DESC_CSWlibxml2-2   = XML Parser Library
+RUNTIME_DEP_PKGS_CSWlibxml2-2 += CSWliblzma5
+RUNTIME_DEP_PKGS_CSWlibxml2-2 += CSWlibiconv2
+RUNTIME_DEP_PKGS_CSWlibxml2-2 += CSWlibz1
+# The catch-all package.
 
-EXTRA_PAX_ARGS  = -s ",^\.$(docdir)/libxml2-$(VERSION),.$(docdir)/libxml2,p"
-EXTRA_PAX_ARGS += -s ",^\.$(docdir)/libxml2-python-$(VERSION),.$(docdir)/pylibxml2,p"
-EXTRA_PAX_ARGS += -s ",^\.$(libdir)/python[^/]*,.$(libdir)/python,p"
-
+PACKAGES += CSWlibxml2-dev
+OBSOLETED_BY_CSWlibxml2-dev = CSWlibxml2devel
+SPKG_DESC_CSWlibxml2-dev = XML Parser Library Developer Files
+RUNTIME_DEP_PKGS_CSWlibxml2-dev = CSWlibxml2-2
 PKGFILES_CSWlibxml2-dev  = $(PKGFILES_DEVEL)
 PKGFILES_CSWlibxml2-dev += $(docdir)/libxml2/.*
 PKGFILES_CSWlibxml2-dev += $(sharedstatedir)/gtk-doc/.*
 PKGFILES_CSWlibxml2-dev += $(libdir)/xml2Conf.sh
 PKGFILES_CSWlibxml2-dev += $(call isadirs,$(libdir),xml2Conf.sh)
 
+PACKAGES += CSWpy-libxml2
+OBSOLETED_BY_CSWpy-libxml2 = CSWpylibxml2
+SPKG_DESC_CSWpy-libxml2  = XML Parser Library Python Bindings
+RUNTIME_DEP_PKGS_CSWpy-libxml2  = CSWlibpython2-6-1-0
+RUNTIME_DEP_PKGS_CSWpy-libxml2 += CSWpython
+RUNTIME_DEP_PKGS_CSWpy-libxml2 += CSWlibxml2-2
 PKGFILES_CSWpy-libxml2  = $(libdir)/python/.*
 PKGFILES_CSWpy-libxml2 += $(docdir)/pylibxml2/.*
 
+EXTRA_PAX_ARGS  = -s ",^\.$(docdir)/libxml2-$(VERSION),.$(docdir)/libxml2,p"
+EXTRA_PAX_ARGS += -s ",^\.$(docdir)/libxml2-python-$(VERSION),.$(docdir)/pylibxml2,p"
+EXTRA_PAX_ARGS += -s ",^\.$(libdir)/python[^/]*,.$(libdir)/python,p"
+
 CHECKPKG_OVERRIDES_CSWlibxml2-dev += file-with-bad-content|/usr/share|root/opt/csw/share/doc/libxml2/html/xml.html
 
-sysconfdir = /etc/opt/csw
-localstatedir = /var/opt/csw
+# http://lists.opencsw.org/pipermail/maintainers/2011-August/015093.html
+SKIPTEST = 1
 
 include gar/category.mk
-

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