From: Nicolas Thill Date: Thu, 14 May 2009 17:59:06 +0000 (+0000) Subject: [package] lua: install lua.pc pkgconfig file as well (closes: #5132) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=87f9a0a2d8b01239bb5774b9c13416a7fd698bb4;p=openwrt%2Fsvn-archive%2Farchive.git [package] lua: install lua.pc pkgconfig file as well (closes: #5132) SVN-Revision: 15848 --- diff --git a/package/lua/Makefile b/package/lua/Makefile index e60be8f4b9..c7e1814f92 100644 --- a/package/lua/Makefile +++ b/package/lua/Makefile @@ -109,13 +109,15 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/lua{,lib,conf}.h $(1)/usr/include/ $(CP) $(PKG_INSTALL_DIR)/usr/include/lauxlib.h $(1)/usr/include/ $(CP) $(PKG_INSTALL_DIR)/usr/include/lnum_config.h $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/liblua.{a,so*} $(1)/usr/lib/ ln -sf liblua.so.$(PKG_VERSION) $(1)/usr/lib/liblualib.so + $(INSTALL_DIR) $(1)/usr/lib/pkgconfig + $(CP) $(PKG_BUILD_DIR)/etc/lua.pc $(1)/usr/lib/pkgconfig/ endef define Package/liblua/install