initial release libxml2-python
This commit is contained in:
parent
448618bb70
commit
3349f630a4
9
libxml2-python/.footprint
Normal file
9
libxml2-python/.footprint
Normal file
@ -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
|
2
libxml2-python/.md5sum
Normal file
2
libxml2-python/.md5sum
Normal file
@ -0,0 +1,2 @@
|
||||
e98018a6b562f1fa454e705dde2269de libxml2-2.6.23.tar.bz2
|
||||
b083f08fabb388d6d98422e9f73b3404 libxml2-python-config.patch
|
20
libxml2-python/Pkgfile
Normal file
20
libxml2-python/Pkgfile
Normal file
@ -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
|
||||
}
|
24
libxml2-python/libxml2-python-config.patch
Normal file
24
libxml2-python/libxml2-python-config.patch
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user