r1043 - in crux-2.2/ports/opt: . libxml2-python
Author: jue Date: 2006-03-27 19:13:38 +0200 (Mon, 27 Mar 2006) New Revision: 1043 Added: crux-2.2/ports/opt/libxml2-python/ crux-2.2/ports/opt/libxml2-python/.footprint crux-2.2/ports/opt/libxml2-python/.md5sum crux-2.2/ports/opt/libxml2-python/Pkgfile crux-2.2/ports/opt/libxml2-python/libxml2-python-config.patch Log: initial release libxml2-python Added: crux-2.2/ports/opt/libxml2-python/.footprint =================================================================== --- crux-2.2/ports/opt/libxml2-python/.footprint (rev 0) +++ crux-2.2/ports/opt/libxml2-python/.footprint 2006-03-27 17:13:38 UTC (rev 1043) @@ -0,0 +1,9 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/python2.4/ +drwxr-xr-x root/root usr/lib/python2.4/site-packages/ +-rw-r--r-- root/root usr/lib/python2.4/site-packages/drv_libxml2.py +-rw-r--r-- root/root usr/lib/python2.4/site-packages/libxml2.py +-rw-r--r-- root/root usr/lib/python2.4/site-packages/libxml2mod.a +-rwxr-xr-x root/root usr/lib/python2.4/site-packages/libxml2mod.la +-rwxr-xr-x root/root usr/lib/python2.4/site-packages/libxml2mod.so Added: crux-2.2/ports/opt/libxml2-python/.md5sum =================================================================== --- crux-2.2/ports/opt/libxml2-python/.md5sum (rev 0) +++ crux-2.2/ports/opt/libxml2-python/.md5sum 2006-03-27 17:13:38 UTC (rev 1043) @@ -0,0 +1,2 @@ +e98018a6b562f1fa454e705dde2269de libxml2-2.6.23.tar.bz2 +b083f08fabb388d6d98422e9f73b3404 libxml2-python-config.patch Added: crux-2.2/ports/opt/libxml2-python/Pkgfile =================================================================== --- crux-2.2/ports/opt/libxml2-python/Pkgfile (rev 0) +++ crux-2.2/ports/opt/libxml2-python/Pkgfile 2006-03-27 17:13:38 UTC (rev 1043) @@ -0,0 +1,20 @@ +# Description: Python bindings for the XML library version 2 +# URL: http://xmlsoft.org/ +# Maintainer: J�rgen Daubert, juergen dot daubert at t-online dot de +# Depends on: python, libxml2 + +name=libxml2-python +version=2.6.23 +release=1 +source=(http://ftp.gnome.org/pub/GNOME/sources/libxml2/2.6/libxml2-$version.tar.bz2 \ + $name-config.patch) + +build () { + cd libxml2-$version + patch -p1 < $SRC/$name-config.patch + ./configure --prefix=/usr + cd python + make + make DESTDIR=$PKG install + rm -r $PKG/usr/share +} Added: crux-2.2/ports/opt/libxml2-python/libxml2-python-config.patch =================================================================== --- crux-2.2/ports/opt/libxml2-python/libxml2-python-config.patch (rev 0) +++ crux-2.2/ports/opt/libxml2-python/libxml2-python-config.patch 2006-03-27 17:13:38 UTC (rev 1043) @@ -0,0 +1,24 @@ +diff -Nru libxml2-2.6.23.orig/python/Makefile.in libxml2-2.6.23/python/Makefile.in +--- libxml2-2.6.23.orig/python/Makefile.in 2006-03-27 18:23:36.000000000 +0200 ++++ libxml2-2.6.23/python/Makefile.in 2006-03-27 18:24:40.000000000 +0200 +@@ -58,7 +58,7 @@ + am__installdirs = "$(DESTDIR)$(pythondir)" + pythonLTLIBRARIES_INSTALL = $(INSTALL) + LTLIBRARIES = $(python_LTLIBRARIES) +-@WITH_PYTHON_TRUE@am__DEPENDENCIES_1 = $(top_builddir)/libxml2.la ++@WITH_PYTHON_TRUE@am__DEPENDENCIES_1 = /usr/lib/libxml2.la + @WITH_PYTHON_TRUE@libxml2mod_la_DEPENDENCIES = $(am__DEPENDENCIES_1) + am__libxml2mod_la_SOURCES_DIST = libxml.c types.c libxml2-py.c + @WITH_PYTHON_TRUE@am_libxml2mod_la_OBJECTS = libxml.lo types.lo \ +@@ -323,9 +323,9 @@ + libxml2-python-api.xml \ + $(DOCS) + +-libxml2mod_la_LDFLAGS = @CYGWIN_EXTRA_LDFLAGS@ @WIN32_EXTRA_LDFLAGS@ -module -avoid-version -L$(top_builddir)/.libs ++libxml2mod_la_LDFLAGS = @CYGWIN_EXTRA_LDFLAGS@ @WIN32_EXTRA_LDFLAGS@ -module -avoid-version + @WITH_PYTHON_TRUE@mylibs = \ +-@WITH_PYTHON_TRUE@ $(top_builddir)/libxml2.la ++@WITH_PYTHON_TRUE@ /usr/lib/libxml2.la + + @WITH_PYTHON_TRUE@python_LTLIBRARIES = libxml2mod.la + @WITH_PYTHON_TRUE@libxml2mod_la_SOURCES = libxml.c types.c libxml2-py.c
participants (1)
-
crux@crux.nu