mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
+10
-11
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2016 OpenWrt.org
|
||||
# Copyright (C) 2016-2017 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
@@ -8,17 +8,15 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=yaaw
|
||||
PKG_VERSION:=2016-05-28
|
||||
PKG_VERSION:=2017-04-11
|
||||
PKG_RELEASE:=1
|
||||
PKG_MAINTAINER:=Hsing-Wang Liao <kuoruan@gmail.com>
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://github.com/binux/yaaw.git
|
||||
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_SOURCE_VERSION:=c28cde2252b707fe0661693f78c5e5e3beee09a1
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
|
||||
PKG_SOURCE_VERSION:=d3a8346c5b9c2c1875dc79e1db2533b584fc8def
|
||||
|
||||
PKG_LICENSE:=LGPL-3.0
|
||||
PKG_MAINTAINER:=Hsing-Wang Liao <kuoruan@gmail.com>
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
@@ -41,11 +39,12 @@ endef
|
||||
|
||||
define Package/yaaw/install
|
||||
$(INSTALL_DIR) $(1)/www/yaaw
|
||||
$(CP) $(PKG_BUILD_DIR)/js $(1)/www/yaaw
|
||||
$(CP) $(PKG_BUILD_DIR)/img $(1)/www/yaaw
|
||||
$(CP) $(PKG_BUILD_DIR)/css $(1)/www/yaaw
|
||||
$(CP) $(PKG_BUILD_DIR)/index.html $(1)/www/yaaw
|
||||
$(CP) $(PKG_BUILD_DIR)/offline.appcache $(1)/www/yaaw
|
||||
$(CP) \
|
||||
$(PKG_BUILD_DIR)/{css,img,js} \
|
||||
$(1)/www/yaaw
|
||||
$(CP) \
|
||||
$(PKG_BUILD_DIR)/{index.html,offline.appcache} \
|
||||
$(1)/www/yaaw
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,yaaw))
|
||||
|
||||
Reference in New Issue
Block a user