summaryrefslogtreecommitdiff
path: root/package/libxslt
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-11-16 13:40:07 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-11-16 13:40:07 +0100
commit3ea82668f719898904b8fc337934c64f8715b2c8 (patch)
treea0ddf0be2056f46c6ddcfc653d09941e1a5ea4d9 /package/libxslt
parent0aba5d5b78cbecdcd10d9ce1bc83b9cf2c2d0cff (diff)
use host tools for libxcb
Diffstat (limited to 'package/libxslt')
-rw-r--r--package/libxslt/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/package/libxslt/Makefile b/package/libxslt/Makefile
index 3a34c5a63..c9f2ce521 100644
--- a/package/libxslt/Makefile
+++ b/package/libxslt/Makefile
@@ -10,7 +10,7 @@ PKG_MD5SUM:= 9667bf6f9310b957254fdcf6596600b7
PKG_DESCR:= XSLT Library
PKG_SECTION:= libs
PKG_DEPENDS:= libxml2
-PKG_BUILDDEP:= libxml2
+PKG_BUILDDEP:= python2-host libxml2-host libxslt-host libxml2
PKG_URL:= http://xmlsoft.org/XSLT
PKG_SITES:= http://xmlsoft.org/sources/
PKG_NEED_CXX:= 1
@@ -24,11 +24,15 @@ ifeq ($(ADK_STATIC),y)
PKG_OPTS+= libmix
endif
+include ${TOPDIR}/mk/host.mk
include ${TOPDIR}/mk/package.mk
+$(eval $(call HOST_template,LIBXSLT,libxslt,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBXSLT,libxslt,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
$(eval $(call PKG_template,XSLTPROC,xsltproc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_XSLTPROC},${PKGSC_XSLTPROC}))
+HOST_STYLE:= auto
+HOST_CONFIGURE_ARGS+= --without-python
CONFIGURE_ARGS+= --with-libxml-prefix="${STAGING_TARGET_DIR}/usr" \
--with-libxml-include-prefix="${STAGING_TARGET_DIR}/usr/include/libxml2" \
--with-libxml-libs-prefix="${STAGING_TARGET_DIR}/usr/lib" \
@@ -47,4 +51,5 @@ libxslt-install:
${CP} ${WRKINST}/usr/lib/libxslt.so* ${IDIR_LIBXSLT}/usr/lib
${CP} ${WRKINST}/usr/lib/libexslt.so* ${IDIR_LIBXSLT}/usr/lib
+include ${TOPDIR}/mk/host-bottom.mk
include ${TOPDIR}/mk/pkg-bottom.mk