summaryrefslogtreecommitdiff
path: root/package/libxslt
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-02-26 14:21:25 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-02-26 14:21:25 +0100
commit27537f0ac386cd2d869a73d2c4d432be2dffb9eb (patch)
tree8d0d6a6026aa6c0a7b5bbd777ef9ed65f916fa78 /package/libxslt
parent1dbfbd6e0c5c2738f2f8d3b9b8ff0a3a9dc4e529 (diff)
parent67cb0759e674470fa53fd3711d8460fd4a12c1a3 (diff)
resolve xterm Makefile conflict
Diffstat (limited to 'package/libxslt')
-rw-r--r--package/libxslt/Makefile16
1 files changed, 13 insertions, 3 deletions
diff --git a/package/libxslt/Makefile b/package/libxslt/Makefile
index 4482a117b..c5a9692ed 100644
--- a/package/libxslt/Makefile
+++ b/package/libxslt/Makefile
@@ -15,13 +15,16 @@ PKG_URL:= http://xmlsoft.org/XSLT
PKG_SITES:= http://xmlsoft.org/sources/
PKG_NEED_CXX:= 1
-PKG_SUBPKGS:= LIBXSLT XSLTPROC
-PKGSD_XSLTPROC:= xslt processor utility
+PKG_SUBPKGS:= LIBXSLT LIBXSLT_DEV XSLTPROC
+PKGSD_LIBXSLT_DEV:= XSLT headers
+PKGSC_LIBXSLT_DEV:= devel
+PKGSD_XSLTPROC:= XSLT processor utility
PKGSC_XSLTPROC:= misc
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBXSLT,libxslt,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,LIBXSLT_DEV,libxslt-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBXSLT_DEV},${PKGSC_LIBXSLT_DEV}))
$(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" \
@@ -39,6 +42,13 @@ xsltproc-install:
libxslt-install:
${INSTALL_DIR} ${IDIR_LIBXSLT}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libxslt.so* ${IDIR_LIBXSLT}/usr/lib/
+ ${CP} ${WRKINST}/usr/lib/libxslt.so* ${IDIR_LIBXSLT}/usr/lib
+
+libxslt-dev-install:
+ ${INSTALL_DIR} ${IDIR_LIBXSLT_DEV}/usr/include
+ ${CP} ${WRKINST}/usr/include/* ${IDIR_LIBXSLT_DEV}/usr/include
+ ${INSTALL_DIR} ${IDIR_LIBXSLT_DEV}/usr/bin
+ ${INSTALL_BIN} ${WRKINST}/usr/bin/xslt-config \
+ ${IDIR_LIBXSLT_DEV}/usr/bin
include ${TOPDIR}/mk/pkg-bottom.mk