0
0
mirror of https://github.com/openwrt/packages.git synced 2025-01-31 01:22:13 +00:00
Karl Palsson 5a511e25ad lang: lua-penlight: update to 1.13.1
These are bugfix and feature releases.

Changes from 1.11->1.12:
https://github.com/lunarmodules/Penlight/blob/master/CHANGELOG.md#1120-2022-jan-10
Changes from 1.12->1.13:
https://github.com/lunarmodules/Penlight/blob/master/CHANGELOG.md#1130-2022-jul-22

Signed-off-by: Karl Palsson <karlp@etactica.com>
2022-09-26 09:38:00 +00:00

48 lines
1.2 KiB
Makefile

#
# Copyright (C) 2014 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:=lua-penlight
PKG_VERSION:=1.13.1
PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/Penlight-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/lunarmodules/Penlight/tar.gz/$(PKG_VERSION)?
PKG_HASH:=530380e1a377df519c2e589f47823f79701f8e0e67f6bbd994e18d09a470b680
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE.md
include $(INCLUDE_DIR)/package.mk
define Package/lua-penlight
SUBMENU:=Lua
SECTION:=lang
CATEGORY:=Languages
TITLE:=Penlight
URL:=http://lunarmodules.github.io/Penlight/manual/01-introduction.md.html
DEPENDS:=+luafilesystem
MAINTAINER:=Karl Palsson <karlp@etactica.com>
endef
define Package/lua-penlight/description
It is often said of Lua that it does not include batteries.
Penlight is the batteries.
endef
define Build/Compile
echo "Nothing to compile, pure lua package"
endef
define Package/lua-penlight/install
$(INSTALL_DIR) $(1)/usr/lib/lua
$(CP) $(PKG_BUILD_DIR)/lua/pl $(1)/usr/lib/lua
endef
$(eval $(call BuildPackage,lua-penlight))