summaryrefslogtreecommitdiff
path: root/package/libxslt
diff options
context:
space:
mode:
Diffstat (limited to 'package/libxslt')
-rw-r--r--package/libxslt/Config.in10
-rw-r--r--package/libxslt/Makefile35
-rw-r--r--package/libxslt/ipkg/libxslt.control5
3 files changed, 50 insertions, 0 deletions
diff --git a/package/libxslt/Config.in b/package/libxslt/Config.in
new file mode 100644
index 000000000..ed8bfe177
--- /dev/null
+++ b/package/libxslt/Config.in
@@ -0,0 +1,10 @@
+config ADK_PACKAGE_LIBXSLT
+ prompt "libxslt........................... Gnome XSLT library"
+ tristate
+ default n
+ select ADK_PACKAGE_LIBXML2
+ help
+ A library for XML transformation using XSLT.
+
+ http://xmlsoft.org/XSLT/
+
diff --git a/package/libxslt/Makefile b/package/libxslt/Makefile
new file mode 100644
index 000000000..39fa934cc
--- /dev/null
+++ b/package/libxslt/Makefile
@@ -0,0 +1,35 @@
+# $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:= libxslt
+PKG_VERSION:= 1.1.24
+PKG_RELEASE:= 1
+PKG_MD5SUM:= e83ec5d27fc4c10c6f612879bea9a153
+MASTER_SITES:= http://xmlsoft.org/sources/ \
+ ftp://fr.rpmfind.net/pub/libxml/
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,LIBXSLT,libxslt,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE= gnu
+CONFIGURE_ARGS+= --with-libxml-prefix="${STAGING_DIR}/usr" \
+ --with-libxml-include-prefix="${STAGING_DIR}/usr/include/libxml2" \
+ --with-libxml-libs-prefix="${STAGING_DIR}/usr/lib" \
+ --without-python \
+ --without-crypto \
+ --without-debug \
+ --without-mem-debug \
+ --without-debugger
+BUILD_STYLE= auto
+INSTALL_STYLE= auto confprog
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_LIBXSLT}/usr/lib
+ ${CP} ${WRKINST}/usr/lib/libxslt.so.* ${IDIR_LIBXSLT}/usr/lib/
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libxslt/ipkg/libxslt.control b/package/libxslt/ipkg/libxslt.control
new file mode 100644
index 000000000..7236bb147
--- /dev/null
+++ b/package/libxslt/ipkg/libxslt.control
@@ -0,0 +1,5 @@
+Package: libxslt
+Priority: optional
+Section: libs
+Description: Gnome XML library
+Depends: libxml2