Fix libiconv InstallDev section and install headers and libraries to a standard location
git-svn-id: svn://svn.openwrt.org/openwrt/packages@4788 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
ae46c90f15
commit
9dc050d7a7
@ -47,16 +47,16 @@ define Package/libiconv/install
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
mkdir -p $(STAGING_DIR)/usr/include/iconv
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/iconv.h $(STAGING_DIR)/usr/include/iconv
|
||||
mkdir -p $(STAGING_DIR)/usr/lib/iconv
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libiconv.* $(STAGING_DIR)/usr/lib/iconv
|
||||
mkdir -p $(STAGING_DIR)/usr/include/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/iconv.h $(STAGING_DIR)/usr/include/
|
||||
mkdir -p $(STAGING_DIR)/usr/lib/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libiconv.* $(STAGING_DIR)/usr/lib/
|
||||
endef
|
||||
|
||||
define Build/UninstallDev
|
||||
rm -rf \
|
||||
$(STAGING_DIR)/usr/include/iconv \
|
||||
$(STAGING_DIR)/usr/lib/iconv
|
||||
$(STAGING_DIR)/usr/include/iconv.h \
|
||||
$(STAGING_DIR)/usr/lib/libiconv.*
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,libiconv))
|
||||
|
Loading…
x
Reference in New Issue
Block a user