2 # Copyright (C) 2017 Robert Call <bob@bobcall.me>
4 # You may redistribute this program and/or modify it under the terms of
5 # the GNU General Public License as published by the Free Software Foundation,
6 # either version 3 of the License, or (at your option) any later version.
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # GNU General Public License for more details.
13 # You should have received a copy of the GNU General Public License
14 # along with this program. If not, see <http://www.gnu.org/licenses/>.
17 include $(TOPDIR)/rules.mk
19 PKG_NAME:=luci-app-shellinabox
25 include $(INCLUDE_DIR)/package.mk
27 define Package/luci-app-shellinabox
30 SUBMENU:=3. Applications
31 TITLE:=Shell in a box integration
33 MAINTAINER:=Robert Call <bob@bobcall.me>
37 define Package/luci-app-shellinabox/description
38 This package adds terminal integration into luci to make
39 router maintanance easier for those new to GNU/Linux or
40 don't have access to a GNU/Linux box.
47 define Package/luci-app-shellinabox/install
48 $(INSTALL_DIR) $(1)/usr/lib/lua/luci
49 $(INSTALL_DIR) $(1)/www/static
50 $(CP) ./luasrc/* $(1)/usr/lib/lua/luci
51 $(CP) ./files/terminal.png $(1)/www/static/terminal.png
54 $(eval $(call BuildPackage,luci-app-shellinabox))