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
://dev.luci.freifunk-halle.net
/sources
/\
16 http
://luaforge.net
/frs
/download.php
/3449
17 PKG_MD5SUM
:=4271f321c39d0560d9fbe6ca882a67aa
19 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
20 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
22 include $(INCLUDE_DIR
)/package.mk
24 define Package
/luaposix
28 TITLE
:=Posix library for Lua
29 URL
:=http
://luaforge.net
/projects
/luaposix
/
33 define Build
/Configure
39 define Package
/luaposix
/install
40 $(INSTALL_DIR
) $(1)/usr
/lib
/lua
41 $(CP
) $(PKG_BUILD_DIR
)/posix.so
$(1)/usr
/lib
/lua
44 $(eval
$(call BuildPackage
,luaposix
))