summaryrefslogtreecommitdiffstats
path: root/base/libxml2/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2011-02-17 21:14:47 +0100
committertnut <thierryn1 at hispeed dot ch>2011-02-17 21:14:47 +0100
commit108fc6ee438e754f5c0459c5abc50e09a9b7ba17 (patch)
treed502b00544fb65b22cfe2eb3be1b0be54a8ccfea /base/libxml2/Pkgfile
parentde9659faade7107efc7ba2067a754a1ff93ace58 (diff)
downloadnutyx-extra-108fc6ee438e754f5c0459c5abc50e09a9b7ba17.tar.gz
nutyx-extra-108fc6ee438e754f5c0459c5abc50e09a9b7ba17.tar.bz2
nutyx-extra-108fc6ee438e754f5c0459c5abc50e09a9b7ba17.tar.xz
nutyx-extra-108fc6ee438e754f5c0459c5abc50e09a9b7ba17.zip
libxml2, nettoyage du port et passe ds base
Diffstat (limited to 'base/libxml2/Pkgfile')
-rwxr-xr-xbase/libxml2/Pkgfile29
1 files changed, 29 insertions, 0 deletions
diff --git a/base/libxml2/Pkgfile b/base/libxml2/Pkgfile
new file mode 100755
index 000000000..924ed82eb
--- /dev/null
+++ b/base/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:
+# Run on:
+
+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}
+}
+