* Updated luaposix Makefile (prepare for merge to OpenWRT)
This commit is contained in:
parent
45be03914c
commit
125c63048b
1 changed files with 6 additions and 6 deletions
|
@ -14,12 +14,12 @@ PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
define Package/luaposix
|
define Package/luaposix
|
||||||
SECTION:=lib
|
SECTION:=lang
|
||||||
CATEGORY:=Libraries
|
CATEGORY:=Languages
|
||||||
TITLE:=Lua Posix library
|
SUBMENU:=LUA
|
||||||
|
TITLE:=Posix library for Lua
|
||||||
URL:=http://luaforge.net/projects/luaposix/
|
URL:=http://luaforge.net/projects/luaposix/
|
||||||
DEPENDS:=+liblua
|
DEPENDS:=+liblua
|
||||||
MAINTAINER:=Steven Barth <steven-at-midlink-dot-org>
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Configure
|
define Build/Configure
|
||||||
|
@ -33,12 +33,12 @@ define Build/Compile
|
||||||
RANLIB="$(TARGET_CROSS)ranlib" \
|
RANLIB="$(TARGET_CROSS)ranlib" \
|
||||||
INSTALL_ROOT=/usr \
|
INSTALL_ROOT=/usr \
|
||||||
LUAINC=$(STAGING_DIR)/usr/include
|
LUAINC=$(STAGING_DIR)/usr/include
|
||||||
|
$(STRIP) $(PKG_BUILD_DIR)/posix.so
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/luaposix/install
|
define Package/luaposix/install
|
||||||
$(INSTALL_DIR) $(1)/usr/lib/lua
|
$(INSTALL_DIR) $(1)/usr/lib/lua
|
||||||
$(STRIP) $(PKG_BUILD_DIR)/posix.so
|
$(CP) $(PKG_BUILD_DIR)/posix.so $(1)/usr/lib/lua
|
||||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/posix.so $(1)/usr/lib/lua
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,luaposix))
|
$(eval $(call BuildPackage,luaposix))
|
||||||
|
|
Loading…
Reference in a new issue