summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-05-14 17:59:06 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-05-14 17:59:06 +0000
commit9b69d8a2cdb6a64f6e18b7e8a9e7505c44114cbb (patch)
tree4e3ca96c063481c4c4195a4ec23bcc41c71a9674
parenta3ccdf629124fb9648f9f66e6c0ea450dbb96d87 (diff)
[package] lua: install lua.pc pkgconfig file as well (closes: #5132)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15848 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/lua/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/lua/Makefile b/package/lua/Makefile
index e60be8f4b..c7e1814f9 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