summaryrefslogtreecommitdiffstats
path: root/extra/libxml2/Pkgfile
blob: 4bd62f25030a5d246f61de62441cef91deeb9b31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Description: Librairie pour XML version 2
# URL: http://xmlsoft.org/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: 
# Run on:

name=libxml2
version=2.7.8
release=2
source=(ftp://xmlsoft.org/libxml2/$name-$version.tar.gz \
	largefile64.patch \
	zlib.patch
	shared_library_versionning.patch )

build() {
	cd $name-$version
	patch -Np1 -i $SRC/largefile64.patch
	patch -Np1 -i $SRC/shared_library_versionning.patch
#	patch -p1 -i "$SRC/zlib.patch"

	autoreconf -fi
	./configure --prefix=/usr \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--with-python=/usr/bin/python2.7
	make
	make DESTDIR=$PKG install
        rm -rf $PKG/usr/share/{doc,gtk-doc}
}