2 # Copyright (C) 2016 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
11 PKG_VERSION
:=2016-05-28
13 PKG_MAINTAINER
:=Hsing-Wang Liao
<kuoruan@gmail.com
>
16 PKG_SOURCE_URL
:=https
://github.com
/binux
/yaaw.git
17 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
18 PKG_SOURCE_VERSION
:=c28cde2252b707fe0661693f78c5e5e3beee09a1
19 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
)-$(PKG_SOURCE_VERSION
).
tar.gz
23 include $(INCLUDE_DIR
)/package.mk
28 SUBMENU
:=Download Manager
30 TITLE
:=Yet another aria2 web frontend
31 URL
:=https
://github.com
/binux
/yaaw
35 define Package
/yaaw
/description
36 Yet Another Aria2 Web Frontend in pure HTML
/CSS
/Javascirpt.
42 define Package
/yaaw
/install
43 $(INSTALL_DIR
) $(1)/www
/yaaw
44 $(CP
) $(PKG_BUILD_DIR
)/js
$(1)/www
/yaaw
45 $(CP
) $(PKG_BUILD_DIR
)/img
$(1)/www
/yaaw
46 $(CP
) $(PKG_BUILD_DIR
)/css
$(1)/www
/yaaw
47 $(CP
) $(PKG_BUILD_DIR
)/index.html
$(1)/www
/yaaw
48 $(CP
) $(PKG_BUILD_DIR
)/offline.appcache
$(1)/www
/yaaw
51 $(eval
$(call BuildPackage
,yaaw
))