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