1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
9 PKG_HASH
:= b5976e3857837e7617b29f2249ebb5eeac34e249208d31f1fbf7a6ba7a4090ce
10 PKG_DESCR
:= xslt library
11 PKG_SECTION
:= libs
/data
13 PKG_BUILDDEP
:= libxslt-host libxml2
14 HOST_BUILDDEP
:= libxml2-host
16 PKG_URL
:= http
://xmlsoft.org
/XSLT
17 PKG_SITES
:= http
://xmlsoft.org
/sources
/
20 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.gz
22 PKG_SUBPKGS
:= LIBXSLT XSLTPROC
23 PKGSD_XSLTPROC
:= xslt processor utility
24 PKGSC_XSLTPROC
:= sys
/misc
26 include ${ADK_TOPDIR}/mk
/host.mk
27 include ${ADK_TOPDIR}/mk
/package.mk
29 $(eval
$(call HOST_template
,LIBXSLT
,libxslt
,${PKG_VERSION}-${PKG_RELEASE}))
30 $(eval
$(call PKG_template
,LIBXSLT
,libxslt
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
31 $(eval
$(call PKG_template
,XSLTPROC
,xsltproc
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_XSLTPROC},${PKGSC_XSLTPROC}))
33 HOST_CONFIGURE_ARGS
+= --without-python \
35 --with-libxml-prefix
="${STAGING_HOST_DIR}/usr" \
36 --with-libxml-include-prefix
="${STAGING_HOST_DIR}/usr/include/libxml2" \
37 --with-libxml-libs-prefix
="${STAGING_HOST_DIR}/usr/lib"
38 AUTOTOOL_STYLE
:= autoreconf
39 CONFIGURE_ARGS
+= --with-libxml-prefix
="${STAGING_TARGET_DIR}/usr" \
40 --with-libxml-include-prefix
="${STAGING_TARGET_DIR}/usr/include/libxml2" \
41 --with-libxml-libs-prefix
="${STAGING_TARGET_DIR}/usr/lib" \
49 ${INSTALL_DIR} ${IDIR_XSLTPROC}/usr
/bin
50 ${INSTALL_BIN} ${WRKINST}/usr
/bin
/xsltproc
${IDIR_XSLTPROC}/usr
/bin
53 ${INSTALL_DIR} ${IDIR_LIBXSLT}/usr
/lib
54 ${CP} ${WRKINST}/usr
/lib
/libxslt.so
* ${IDIR_LIBXSLT}/usr
/lib
55 ${CP} ${WRKINST}/usr
/lib
/libexslt.so
* ${IDIR_LIBXSLT}/usr
/lib
57 include ${ADK_TOPDIR}/mk
/host-bottom.mk
58 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk