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.

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