summaryrefslogtreecommitdiff
path: root/package/libxslt/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-26 20:16:25 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-26 20:16:25 +0100
commit503e9c8f13e8da18f2e81530ba7f086d3ea04de4 (patch)
tree4229e7938850b63d462526be86d90b3e8fd1ce75 /package/libxslt/Makefile
parent83687368fdcf0004e377584b3b3e73d4f991e27e (diff)
add somemissing dependencies
Diffstat (limited to 'package/libxslt/Makefile')
-rw-r--r--package/libxslt/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/package/libxslt/Makefile b/package/libxslt/Makefile
index 8000a5d5a..d5c3fcb84 100644
--- a/package/libxslt/Makefile
+++ b/package/libxslt/Makefile
@@ -14,9 +14,14 @@ PKG_BUILDDEP:= libxml2
PKG_URL:= http://xmlsoft.org/XSLT
PKG_SITES:= http://xmlsoft.org/sources/
+PKG_SUBPKGS:= LIBXSLT XSLTPROC
+PKGSD_XSLTPROC:= xslt processor utility
+PKGSC_XSLTPROC:= misc
+
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,LIBXSLT,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,LIBXSLT,libxslt,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,XSLTPROC,xsltproc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_XSLTPROC},${PKGSC_XSLTPROC}))
CONFIGURE_ARGS+= --with-libxml-prefix="${STAGING_TARGET_DIR}/usr" \
--with-libxml-include-prefix="${STAGING_TARGET_DIR}/usr/include/libxml2" \
@@ -27,7 +32,11 @@ CONFIGURE_ARGS+= --with-libxml-prefix="${STAGING_TARGET_DIR}/usr" \
--without-mem-debug \
--without-debugger
-post-install:
+xsltproc-install:
+ ${INSTALL_DIR} ${IDIR_XSLTPROC}/usr/bin
+ ${INSTALL_BIN} ${WRKINST}/usr/bin/xsltproc ${IDIR_XSLTPROC}/usr/bin
+
+libxslt-install:
${INSTALL_DIR} ${IDIR_LIBXSLT}/usr/lib
${CP} ${WRKINST}/usr/lib/libxslt.so* ${IDIR_LIBXSLT}/usr/lib/