summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-05-23 20:55:59 +0000
committerSteven Barth <steven@midlink.org>2008-05-23 20:55:59 +0000
commit125c63048bbe61e1ff9395d839b8e54b60a29dc4 (patch)
treef32fdd6cb6d55fc50e9caf713164624e06db9f44
parent45be03914c9f6eda8f9fd9f8ce662ef371b7806f (diff)
* Updated luaposix Makefile (prepare for merge to OpenWRT)
-rw-r--r--contrib/package/luaposix/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/contrib/package/luaposix/Makefile b/contrib/package/luaposix/Makefile
index 09a63798e8..9f2871376a 100644
--- a/contrib/package/luaposix/Makefile
+++ b/contrib/package/luaposix/Makefile
@@ -14,12 +14,12 @@ PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk
define Package/luaposix
- SECTION:=lib
- CATEGORY:=Libraries
- TITLE:=Lua Posix library
+ SECTION:=lang
+ CATEGORY:=Languages
+ SUBMENU:=LUA
+ TITLE:=Posix library for Lua
URL:=http://luaforge.net/projects/luaposix/
DEPENDS:=+liblua
- MAINTAINER:=Steven Barth <steven-at-midlink-dot-org>
endef
define Build/Configure
@@ -33,12 +33,12 @@ define Build/Compile
RANLIB="$(TARGET_CROSS)ranlib" \
INSTALL_ROOT=/usr \
LUAINC=$(STAGING_DIR)/usr/include
+ $(STRIP) $(PKG_BUILD_DIR)/posix.so
endef
define Package/luaposix/install
$(INSTALL_DIR) $(1)/usr/lib/lua
- $(STRIP) $(PKG_BUILD_DIR)/posix.so
- $(INSTALL_BIN) $(PKG_BUILD_DIR)/posix.so $(1)/usr/lib/lua
+ $(CP) $(PKG_BUILD_DIR)/posix.so $(1)/usr/lib/lua
endef
$(eval $(call BuildPackage,luaposix))