/
Makefile
57 lines (45 loc) · 1.4 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#
# Copyright (C) 2016-2017 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:=webui-aria2
PKG_SOURCE_DATE:=2017-05-22
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/ziahamza/webui-aria2
PKG_MIRROR_HASH:=331d966657a7f0174a1e20a607cae64a67165f130912b757e4c7398d73595961
PKG_SOURCE_VERSION:=d1ce5b992680f4d03eeee899ed8280cbcab8961a
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE
PKG_MAINTAINER:=Hsing-Wang Liao <kuoruan@gmail.com>
include $(INCLUDE_DIR)/package.mk
define Package/webui-aria2
SECTION:=net
CATEGORY:=Network
SUBMENU:=Download Manager
DEPENDS:=
TITLE:=An interface to interact with aria2
URL:=https://github.com/ziahamza/webui-aria2
PKGARCH:=all
endef
define Package/webui-aria2/description
The aim for this project is to create the worlds best and hottest interface to interact with aria2. Very simple to use.
endef
define Build/Compile
endef
define Package/webui-aria2/install
$(INSTALL_DIR) \
$(1)/www/webui-aria2 \
$(1)/www/webui-aria2/flags/4x3
$(CP) \
$(PKG_BUILD_DIR)/{css,fonts,js} \
$(PKG_BUILD_DIR)/{LICENSE,configuration.js,favicon.ico,index.html} \
$(1)/www/webui-aria2
$(CP) \
$(PKG_BUILD_DIR)/flags/4x3/{cn,cz,de,es,fr,it,nl,pl,ru,th,tr,tw,us}.svg \
$(1)/www/webui-aria2/flags/4x3
endef
$(eval $(call BuildPackage,webui-aria2))