hauke 3da0555231 luaposix: Update source links and urls
No functional change.  The difference in the md5sum of the tarball is
the inclusion of a .gitignore file in the github provided tarball.

This change allows https://home.comcast.net/~sdwalker/uscan/index.html
to more accurately track the state of this package, and includes links
that actually work.  It eliminates the need for this package to be
hosted on mirror2.openwrt.org, and indeed, due to the md5sum change,
won't even be compatible with the package hosted there.

Signed-off-by: Karl Palsson <karlp@remake.is>


git-svn-id: svn://svn.openwrt.org/openwrt/packages@40611 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-30 22:02:05 +00:00

53 lines
1.1 KiB
Makefile

#
# Copyright (C) 2011 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=luaposix
PKG_VERSION:=5.1.11
PKG_RELEASE:=2
PKG_SOURCE:=v$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/luaposix/luaposix/archive/
PKG_MD5SUM:=8254576c52bd2d0e160353d24880bb89
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
define Package/luaposix
SUBMENU:=Lua
SECTION:=lang
CATEGORY:=Languages
TITLE:=luaposix
URL:=http://luaforge.net/projects/luaposix/
DEPENDS:=+lua +librt
endef
define Package/luaposix/description
luaposix is a general POSIX library for Lua providing access
to various low level libc functions.
endef
define Build/Configure
endef
TARGET_CFLAGS += -DLUA_USE_LINUX $(FPIC) -std=gnu99
ifneq ($(CONFIG_USE_EGLIBC),)
ifeq ($(CONFIG_EGLIBC_OPTION_EGLIBC_UTMP),)
TARGET_CFLAGS += -DNO_GETLOGIN
endif
endif
define Package/luaposix/install
$(INSTALL_DIR) $(1)/usr/lib/lua
$(INSTALL_BIN) $(PKG_BUILD_DIR)/posix.so $(1)/usr/lib/lua
endef
$(eval $(call BuildPackage,luaposix))