2014-12-18 15:14:09 +00:00
|
|
|
#
|
|
|
|
# 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
|
2020-08-11 17:34:12 +00:00
|
|
|
PKG_VERSION:=1.8.0
|
2017-08-16 15:27:59 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
2018-12-10 12:52:37 +00:00
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/Penlight-$(PKG_VERSION)
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2020-01-02 13:47:54 +00:00
|
|
|
PKG_SOURCE_URL:=https://codeload.github.com/Tieske/Penlight/tar.gz/$(PKG_VERSION)?
|
2020-08-11 17:34:12 +00:00
|
|
|
PKG_HASH:=a1a41c5ec82c0459bc0508a0fb1cb56dfaa83a1dd7754d7174b336ad65420d3d
|
2014-12-18 15:14:09 +00:00
|
|
|
PKG_LICENSE:=MIT
|
2016-09-02 22:00:54 +00:00
|
|
|
PKG_LICENSE_FILES:=LICENSE.md
|
2014-12-18 15:14:09 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
2017-03-07 12:41:01 +00:00
|
|
|
define Package/lua-penlight
|
2014-12-18 15:14:09 +00:00
|
|
|
SUBMENU:=Lua
|
|
|
|
SECTION:=lang
|
|
|
|
CATEGORY:=Languages
|
|
|
|
TITLE:=Penlight
|
2020-01-02 13:47:54 +00:00
|
|
|
URL:=http://tieske.github.io/Penlight/manual/01-introduction.md.html
|
2014-12-18 15:14:09 +00:00
|
|
|
DEPENDS:=+luafilesystem
|
2017-08-16 16:44:16 +00:00
|
|
|
MAINTAINER:=Karl Palsson <karlp@etactica.com>
|
2014-12-18 15:14:09 +00:00
|
|
|
endef
|
|
|
|
|
2017-03-07 12:41:01 +00:00
|
|
|
define Package/lua-penlight/description
|
2014-12-18 15:14:09 +00:00
|
|
|
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
|
|
|
|
|
2017-03-07 12:41:01 +00:00
|
|
|
define Package/lua-penlight/install
|
2014-12-18 15:14:09 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/lua
|
|
|
|
$(CP) $(PKG_BUILD_DIR)/lua/pl $(1)/usr/lib/lua
|
|
|
|
endef
|
|
|
|
|
2017-03-07 12:41:01 +00:00
|
|
|
$(eval $(call BuildPackage,lua-penlight))
|