You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.1 KiB

  1. #
  2. # Copyright (C) 2016-2017 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:=yaaw
  9. PKG_VERSION:=2017-04-11
  10. PKG_RELEASE:=1
  11. PKG_SOURCE_PROTO:=git
  12. PKG_SOURCE_URL:=https://github.com/binux/yaaw.git
  13. PKG_MIRROR_HASH:=698b176cbee67c37cb095d0d07158b917de4191a2ab3fc766c6e8378a6d52110
  14. PKG_SOURCE_VERSION:=d3a8346c5b9c2c1875dc79e1db2533b584fc8def
  15. PKG_LICENSE:=LGPL-3.0
  16. PKG_MAINTAINER:=Hsing-Wang Liao <kuoruan@gmail.com>
  17. include $(INCLUDE_DIR)/package.mk
  18. define Package/yaaw
  19. SECTION:=net
  20. CATEGORY:=Network
  21. SUBMENU:=Download Manager
  22. DEPENDS:=
  23. TITLE:=Yet another aria2 web frontend
  24. URL:=https://github.com/binux/yaaw
  25. PKGARCH:=all
  26. endef
  27. define Package/yaaw/description
  28. Yet Another Aria2 Web Frontend in pure HTML/CSS/Javascirpt.
  29. endef
  30. define Build/Compile
  31. endef
  32. define Package/yaaw/install
  33. $(INSTALL_DIR) $(1)/www/yaaw
  34. $(CP) \
  35. $(PKG_BUILD_DIR)/{css,img,js} \
  36. $(1)/www/yaaw
  37. $(CP) \
  38. $(PKG_BUILD_DIR)/{index.html,offline.appcache} \
  39. $(1)/www/yaaw
  40. endef
  41. $(eval $(call BuildPackage,yaaw))