1 # Copyright (C) 2008 OpenWrt.org
3 # This is free software, licensed under the GNU General Public License v2.
4 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://luaforge.net
/frs
/download.php
/3449
16 PKG_MD5SUM
:=4271f321c39d0560d9fbe6ca882a67aa
18 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
19 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
21 include $(INCLUDE_DIR
)/package.mk
23 define Package
/luaposix
27 TITLE
:=Posix library for Lua
28 URL
:=http
://luaforge.net
/projects
/luaposix
/
32 define Build
/Configure
38 define Package
/luaposix
/install
39 $(INSTALL_DIR
) $(1)/usr
/lib
/lua
40 $(CP
) $(PKG_BUILD_DIR
)/posix.so
$(1)/usr
/lib
/lua
43 $(eval
$(call BuildPackage
,luaposix
))