summaryrefslogtreecommitdiffstats
path: root/libxml2/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'libxml2/Pkgfile')
-rwxr-xr-xlibxml2/Pkgfile29
1 files changed, 29 insertions, 0 deletions
diff --git a/libxml2/Pkgfile b/libxml2/Pkgfile
new file mode 100755
index 000000000..9403719ec
--- /dev/null
+++ b/libxml2/Pkgfile
@@ -0,0 +1,29 @@
+# Description: Librairie pour XML version 2
+# URL: http://xmlsoft.org/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: glib
+# Run on:glib
+
+name=libxml2
+version=2.7.8
+release=2
+source=(ftp://xmlsoft.org/libxml2/$name-$version.tar.gz \
+ largefile64.patch \
+ shared_library_versionning.patch )
+
+build() {
+ cd $name-$version
+ patch -Np1 -i $SRC/largefile64.patch
+ patch -Np1 -i $SRC/shared_library_versionning.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}
+}
+