Makefile (1221B)
1 # 2 # Copyright (C) 2015 OpenWrt.org 3 # 4 # This is free software, licensed under the GNU General Public License v2. 5 # See /LICENSE for more information. 6 # 7 8 include $(TOPDIR)/rules.mk 9 10 PKG_NAME:=lua-mobdebug 11 PKG_VERSION:=0.61 12 PKG_RELEASE:=1 13 PKG_MAINTAINER:=Dirk Chang <dirk@kooiot.com> 14 PKG_LICENSE:=MIT 15 16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 17 PKG_SOURCE_URL:=https://github.com/pkulchenko/MobDebug.git 18 PKG_SOURCE_PROTO:=git 19 PKG_SOURCE_VERSION:=9a03aa59696647ba3b7f9ae2f29a9f28532a4feb 20 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) 21 22 PKG_INSTALL:=1 23 24 include $(INCLUDE_DIR)/package.mk 25 26 define Package/lua-mobdebug 27 SUBMENU:=Lua 28 SECTION:=lang 29 CATEGORY:=Languages 30 TITLE:=Lua-MobDebug 31 URL:=https://github.com/pkulchenko/MobDebug 32 DEPENDS:=+lua 33 endef 34 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). 37 endef 38 39 define Build/Configure 40 endef 41 42 define Build/Compile 43 endef 44 45 define Build/Install 46 endef 47 48 # add make variable overrides here 49 MAKE_FLAGS += 50 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 54 endef 55 56 $(eval $(call BuildPackage,lua-mobdebug))