webui-aria2: Add package 2769/head
authorHsing-Wang Liao <kuoruan@gmail.com>
Mon, 30 May 2016 11:03:23 +0000 (19:03 +0800)
committerHsing-Wang Liao <kuoruan@gmail.com>
Tue, 31 May 2016 02:03:31 +0000 (10:03 +0800)
* Web interface to aria2

Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
net/webui-aria2/Makefile [new file with mode: 0644]

diff --git a/net/webui-aria2/Makefile b/net/webui-aria2/Makefile
new file mode 100644 (file)
index 0000000..02ec30e
--- /dev/null
@@ -0,0 +1,56 @@
+#
+# Copyright (C) 2016 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_VERSION:=2016-05-30
+PKG_RELEASE:=1
+
+PKG_SOURCE_PROTO:=git
+PKG_SOURCE_URL:=https://github.com/ziahamza/webui-aria2.git
+PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
+PKG_SOURCE_VERSION:=a4b1e954f15a2cc69dd0cb2092c44a549715b2e7
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
+
+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
+
+       $(CP) $(PKG_BUILD_DIR)/fonts $(1)/www/webui-aria2
+       $(CP) $(PKG_BUILD_DIR)/flags $(1)/www/webui-aria2
+       $(CP) $(PKG_BUILD_DIR)/js $(1)/www/webui-aria2
+       $(CP) $(PKG_BUILD_DIR)/img $(1)/www/webui-aria2
+       $(CP) $(PKG_BUILD_DIR)/css $(1)/www/webui-aria2
+       $(CP) $(PKG_BUILD_DIR)/index.html $(1)/www/webui-aria2
+       $(CP) $(PKG_BUILD_DIR)/favicon.ico $(1)/www/webui-aria2
+       $(CP) $(PKG_BUILD_DIR)/configuration.js $(1)/www/webui-aria2
+endef
+
+$(eval $(call BuildPackage,webui-aria2))