2 # Copyright (C) 2015 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-mobdebug
13 PKG_MAINTAINER:=Dirk Chang <dirk@kooiot.com>
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
17 PKG_SOURCE_URL:=https://github.com/pkulchenko/MobDebug.git
19 PKG_SOURCE_VERSION:=9a03aa59696647ba3b7f9ae2f29a9f28532a4feb
20 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
24 include $(INCLUDE_DIR)/package.mk
26 define Package/lua-mobdebug
31 URL:=https://github.com/pkulchenko/MobDebug
35 define Package/lua-mobdebug/description
36 MobDebug is a remote debugger for Lua (including Lua 5.1, Lua 5.2, Lua 5.3, and LuaJIT 2.x).
39 define Build/Configure
48 # add make variable overrides here
51 define Package/lua-mobdebug/install
52 $(INSTALL_DIR) $(1)/usr/lib/lua
53 $(INSTALL_DATA) $(PKG_BUILD_DIR)/src/mobdebug.lua $(1)/usr/lib/lua
56 $(eval $(call BuildPackage,lua-mobdebug))