mirror of
https://github.com/openwrt/luci.git
synced 2026-04-15 19:01:56 +00:00
* Updated luaposix Makefile (prepare for merge to OpenWRT)
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user