First Commit
[librecmc/package-feed.git] / net / webui-aria2 / Makefile
1 #
2 # Copyright (C) 2016 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:=webui-aria2
11 PKG_VERSION:=2016-10-11
12 PKG_RELEASE:=1
13
14 PKG_SOURCE_PROTO:=git
15 PKG_SOURCE_URL:=https://github.com/ziahamza/webui-aria2.git
16 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
17 PKG_SOURCE_VERSION:=6a29c1b1d0224e1daa88906e88bc2e177ca2ad76
18 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
19
20 PKG_LICENSE:=MIT
21 PKG_LICENSE_FILES:=LICENSE
22 PKG_MAINTAINER:=Hsing-Wang Liao <kuoruan@gmail.com>
23
24 include $(INCLUDE_DIR)/package.mk
25
26 define Package/webui-aria2
27   SECTION:=net
28   CATEGORY:=Network
29   SUBMENU:=Download Manager
30   DEPENDS:=
31   TITLE:=An interface to interact with aria2
32   URL:=https://github.com/ziahamza/webui-aria2
33   PKGARCH:=all
34 endef
35
36 define Package/webui-aria2/description
37         The aim for this project is to create the worlds best and hottest interface to interact with aria2. Very simple to use.
38 endef
39
40 define Build/Compile
41 endef
42
43 define Package/webui-aria2/install
44         $(INSTALL_DIR) $(1)/www/webui-aria2
45
46         $(CP) $(PKG_BUILD_DIR)/fonts $(1)/www/webui-aria2
47         $(CP) $(PKG_BUILD_DIR)/flags $(1)/www/webui-aria2
48         $(CP) $(PKG_BUILD_DIR)/js $(1)/www/webui-aria2
49         $(CP) $(PKG_BUILD_DIR)/img $(1)/www/webui-aria2
50         $(CP) $(PKG_BUILD_DIR)/css $(1)/www/webui-aria2
51         $(CP) $(PKG_BUILD_DIR)/index.html $(1)/www/webui-aria2
52         $(CP) $(PKG_BUILD_DIR)/favicon.ico $(1)/www/webui-aria2
53         $(CP) $(PKG_BUILD_DIR)/configuration.js $(1)/www/webui-aria2
54 endef
55
56 $(eval $(call BuildPackage,webui-aria2))