libxml2-python-32: fix build

This commit is contained in:
Danny Rawlins 2012-12-24 21:32:57 +11:00
parent cff053e950
commit 85954af4d2

View File

@ -5,18 +5,18 @@
name=libxml2-python-32
version=2.9.0
release=1
release=2
source=(ftp://xmlsoft.org/libxml2/libxml2-$version.tar.gz \
libxml2-python-config.patch)
build () {
cd libxml2-$version
patch -p1 -i $SRC/libxml2-python-config.patch
./configure --prefix=/usr --libdir=/usr/lib32
cd python
sed -i -e 's|PYTHON_INCLUDES = /usr/include/python2.7|PYTHON_INCLUDES = /usr/include32/python2.7|' Makefile
make
make DESTDIR=$PKG install