summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2009-05-14 17:59:06 +0000
committerNicolas Thill <nico@openwrt.org>2009-05-14 17:59:06 +0000
commitc2e3ae221debf813afbe34ee43cdcab607f681ea (patch)
tree442b34e4004359cf0e7c79b0301f5cc40bcd929d
parentf3dcfb69942fec5882e1fcf7aff6d9b9ec367367 (diff)
downloadmtk-20170518-c2e3ae221debf813afbe34ee43cdcab607f681ea.zip
mtk-20170518-c2e3ae221debf813afbe34ee43cdcab607f681ea.tar.gz
mtk-20170518-c2e3ae221debf813afbe34ee43cdcab607f681ea.tar.bz2
lua: install lua.pc pkgconfig file as well (closes: #5132)
SVN-Revision: 15848
-rw-r--r--package/lua/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/lua/Makefile b/package/lua/Makefile
index e60be8f..c7e1814 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