[packages] multimedia/ushare: Add a UCI aware init script + config file
[openwrt/svn-archive/archive.git] / lang / luaposix / Makefile
1 # Copyright (C) 2008 OpenWrt.org
2 #
3 # This is free software, licensed under the GNU General Public License v2.
4 # See /LICENSE for more information.
5 #
6 # $Id$
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=luaposix
11 PKG_VERSION:=5.1.3
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://luaforge.net/frs/download.php/3449
16 PKG_MD5SUM:=4271f321c39d0560d9fbe6ca882a67aa
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/luaposix
21 SECTION:=lang
22 CATEGORY:=Languages
23 SUBMENU:=LUA
24 TITLE:=Posix library for Lua
25 URL:=http://luaforge.net/projects/luaposix/
26 DEPENDS:=+liblua
27 endef
28
29 define Build/Configure
30 endef
31
32 MAKE_FLAGS += \
33 OS=Linux
34
35 define Package/luaposix/install
36 $(INSTALL_DIR) $(1)/usr/lib/lua
37 $(CP) $(PKG_BUILD_DIR)/posix.so $(1)/usr/lib/lua
38 endef
39
40 $(eval $(call BuildPackage,luaposix))