2 # Copyright (C) 2014 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
10 PKG_NAME:=lua-penlight
13 PKG_BUILD_DIR:=$(BUILD_DIR)/Penlight-$(PKG_VERSION)
14 PKG_SOURCE:=$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=https://github.com/stevedonovan/Penlight/archive/
16 PKG_MD5SUM:=0315a39834bb6fab07741ec04ede1bf4
18 PKG_LICENSE_FILES:=LICENSE.md
20 include $(INCLUDE_DIR)/package.mk
22 define Package/$(PKG_NAME)
27 URL:=http://stevedonovan.github.io/Penlight/api/manual/01-introduction.md.html
28 DEPENDS:=+luafilesystem
29 MAINTAINER:= Karl Palsson <karlp@remake.is>
32 define Package/$(PKG_NAME)/description
33 It is often said of Lua that it does not include batteries.
34 Penlight is the batteries.
38 echo "Nothing to compile, pure lua package"
41 define Package/$(PKG_NAME)/install
42 $(INSTALL_DIR) $(1)/usr/lib/lua
43 $(CP) $(PKG_BUILD_DIR)/lua/pl $(1)/usr/lib/lua
46 $(eval $(call BuildPackage,$(PKG_NAME)))