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

Signed-off-by: Andrew Peebles <[email protected]>

diff -Naur owrt.orig/feeds/packages/libs/libxslt/Makefile 
owrt/feeds/packages/libs/libxslt/Makefile
--- owrt.orig/feeds/packages/libs/libxslt/Makefile      2011-02-19 
11:50:22.000000000 -0800
+++ owrt/feeds/packages/libs/libxslt/Makefile   2011-02-19 11:50:09.000000000 
-0800
@@ -68,6 +68,22 @@

 TARGET_CFLAGS += $(FPIC)

+define InstallDevExslt
+       $(INSTALL_DIR) $(1)/usr/include/libexslt
+       $(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
        $(INSTALL_DIR) $(1)/usr/bin $(2)/bin $(1)/usr/include/libxslt 
$(1)/usr/lib \
                $(1)/usr/lib/pkgconfig $(2)/share/aclocal
@@ -97,6 +113,8 @@
        $(INSTALL_DATA) \
                $(PKG_INSTALL_DIR)/usr/share/aclocal/* \
                $(2)/share/aclocal
+
+       $(if $(CONFIG_PACKAGE_libexslt),$(call InstallDevExslt,$(1)))
 endef

 define Package/libxslt/install


_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to