summaryrefslogtreecommitdiff
path: root/package/libxml2
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/libxml2
Initial import
Diffstat (limited to 'package/libxml2')
-rw-r--r--package/libxml2/Config.in11
-rw-r--r--package/libxml2/Makefile55
-rw-r--r--package/libxml2/ipkg/libxml2.control5
3 files changed, 71 insertions, 0 deletions
diff --git a/package/libxml2/Config.in b/package/libxml2/Config.in
new file mode 100644
index 000000000..c9a6833de
--- /dev/null
+++ b/package/libxml2/Config.in
@@ -0,0 +1,11 @@
+config ADK_PACKAGE_LIBXML2
+ prompt "libxml2........................... Gnome XML library"
+ tristate
+ default n
+ select ADK_PACKAGE_LIBPTHREAD
+ select ADK_PACKAGE_ZLIB
+ help
+ A library for manipulating XML and HTML resources.
+
+ http://xmlsoft.org/
+
diff --git a/package/libxml2/Makefile b/package/libxml2/Makefile
new file mode 100644
index 000000000..3a8afc371
--- /dev/null
+++ b/package/libxml2/Makefile
@@ -0,0 +1,55 @@
+# $Id$
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+
+PKG_NAME:= libxml2
+PKG_VERSION:= 2.7.2
+PKG_RELEASE:= 1
+PKG_MD5SUM:= dc43ff7ae6aded45f578c87b7b0c8766
+MASTER_SITES:= http://xmlsoft.org/sources/ \
+ ftp://fr.rpmfind.net/pub/libxml/
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,LIBXML2,libxml2,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE= gnu
+CONFIGURE_ARGS+= --without-c14n \
+ --without-catalog \
+ --without-debug \
+ --without-docbook \
+ --with-html \
+ --without-ftp \
+ --without-http \
+ --without-iconv \
+ --without-iso8859x \
+ --without-legacy \
+ --with-output \
+ --without-pattern \
+ --without-push \
+ --without-python \
+ --with-reader \
+ --without-readline \
+ --without-regexps \
+ --with-sax1 \
+ --with-schemas \
+ --with-threads \
+ --with-tree \
+ --with-valid \
+ --with-writer \
+ --with-xinclude \
+ --with-xpath \
+ --with-xptr \
+ --with-zlib
+
+BUILD_STYLE= auto
+INSTALL_STYLE= auto confprog
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_LIBXML2}/usr/lib
+ ${CP} ${WRKINST}/usr/lib/libxml2.so.* ${IDIR_LIBXML2}/usr/lib/
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libxml2/ipkg/libxml2.control b/package/libxml2/ipkg/libxml2.control
new file mode 100644
index 000000000..927409187
--- /dev/null
+++ b/package/libxml2/ipkg/libxml2.control
@@ -0,0 +1,5 @@
+Package: libxml2
+Priority: optional
+Section: libs
+Description: Gnome XML library
+Depends: zlib