1
0

Makefile 1.5 KB

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