Add download from github

This commit is contained in:
Vadim Vetrov 2024-08-05 16:21:20 +03:00
parent 48201093c3
commit 87f016f27c
No known key found for this signature in database
GPG Key ID: E8A308689D7A73A5

View File

@ -4,9 +4,12 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=youtubeUnblock
PKG_VERSION:=0.1
PKG_REV:=82d65b8f9696ba9be7cdf807e0524a2f93b2bc7a
PKG_RELEASE:=1
SOURCE_DIR:=/home/me/youtubeUnblock
PKG_SOURCE_URL:=https://github.com/Waujito/youtubeUnblock.git
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=$(PKG_REV)
include $(INCLUDE_DIR)/package.mk
@ -14,6 +17,8 @@ define Package/youtubeUnblock
SECTION:=net
CATEGORY:=Networking
TITLE:=youtubeUnblock
URL:=https://github.com/Waujito/youtubeUnblock
MAINTAINER:=Vadim Vetrov <vetrovvd@gmail.com>
endef
define Package/youtubeUnblock/description
@ -21,8 +26,7 @@ define Package/youtubeUnblock/description
endef
define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)
cp -r $(SOURCE_DIR)/* $(PKG_BUILD_DIR)
$(Build/Prepare/Default)
$(Build/Patch)
endef