[package] libxslt: add InstallDev for libexslt

The libxslt package does not InstallDev the exslt dev files when
libexslt package is selected.

Signed-off-by: Andrew Peebles <peebles@cortina-systems.com>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@25729 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2011-02-26 14:51:16 +00:00
parent eb56af09d3
commit e285692e21

View File

@ -1,5 +1,5 @@
#
# Copyright (C) 2006-2009 OpenWrt.org
# Copyright (C) 2006-2011 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@ -68,8 +68,9 @@ CONFIGURE_ARGS+= \
TARGET_CFLAGS += $(FPIC)
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/bin $(2)/bin $(1)/usr/include/libxslt $(1)/usr/lib \
define Build/InstallDev/Xslt
$(INSTALL_DIR) $(1)/usr/bin $(2)/bin $(1)/usr/include/libxslt \
$(1)/usr/include/libexslt $(1)/usr/lib \
$(1)/usr/lib/pkgconfig $(2)/share/aclocal
$(INSTALL_BIN) \
@ -99,6 +100,26 @@ define Build/InstallDev
$(2)/share/aclocal
endef
define Build/InstallDev/Exslt
$(INSTALL_DIR) $(1)/usr/include/libexslt $(1)/usr/lib/pkgconfig
$(INSTALL_DATA) \
$(PKG_INSTALL_DIR)/usr/include/libexslt/* \
$(1)/usr/include/libexslt/
$(CP) \
$(PKG_INSTALL_DIR)/usr/lib/libexslt.{la,a,so*} \
$(1)/usr/lib/
$(INSTALL_DATA) \
$(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libexslt.pc \
$(1)/usr/lib/pkgconfig/
endef
define Build/InstallDev
$(if $(CONFIG_PACKAGE_libxslt),$(call Build/InstallDev/Xslt,$(1)))
$(if $(CONFIG_PACKAGE_libexslt),$(call Build/InstallDev/Exslt,$(1)))
endef
define Package/libxslt/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) \