Changeset 25729


Ignore:
Timestamp:
2011-02-26T15:51:16+01:00 (7 years ago)
Author:
florian
Message:

[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@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/libs/libxslt/Makefile

    r18979 r25729  
    11# 
    2 # Copyright (C) 2006-2009 OpenWrt.org 
     2# Copyright (C) 2006-2011 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    6969TARGET_CFLAGS += $(FPIC) 
    7070 
    71 define Build/InstallDev 
    72         $(INSTALL_DIR) $(1)/usr/bin $(2)/bin $(1)/usr/include/libxslt $(1)/usr/lib \ 
     71define Build/InstallDev/Xslt 
     72        $(INSTALL_DIR) $(1)/usr/bin $(2)/bin $(1)/usr/include/libxslt \ 
     73                $(1)/usr/include/libexslt $(1)/usr/lib \ 
    7374                $(1)/usr/lib/pkgconfig $(2)/share/aclocal 
    7475 
     
    100101endef 
    101102 
     103define Build/InstallDev/Exslt 
     104        $(INSTALL_DIR) $(1)/usr/include/libexslt $(1)/usr/lib/pkgconfig 
     105        $(INSTALL_DATA) \ 
     106                $(PKG_INSTALL_DIR)/usr/include/libexslt/* \ 
     107                $(1)/usr/include/libexslt/ 
     108 
     109        $(CP) \ 
     110                $(PKG_INSTALL_DIR)/usr/lib/libexslt.{la,a,so*} \ 
     111                $(1)/usr/lib/ 
     112 
     113        $(INSTALL_DATA) \ 
     114                $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libexslt.pc \ 
     115                $(1)/usr/lib/pkgconfig/ 
     116endef 
     117 
     118define Build/InstallDev 
     119         $(if $(CONFIG_PACKAGE_libxslt),$(call Build/InstallDev/Xslt,$(1))) 
     120         $(if $(CONFIG_PACKAGE_libexslt),$(call Build/InstallDev/Exslt,$(1))) 
     121endef 
     122 
    102123define Package/libxslt/install 
    103124        $(INSTALL_DIR) $(1)/usr/lib 
Note: See TracChangeset for help on using the changeset viewer.