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_NAME:=youtubeUnblock
PKG_VERSION:=0.1 PKG_VERSION:=0.1
PKG_REV:=82d65b8f9696ba9be7cdf807e0524a2f93b2bc7a
PKG_RELEASE:=1 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 include $(INCLUDE_DIR)/package.mk
@ -14,6 +17,8 @@ define Package/youtubeUnblock
SECTION:=net SECTION:=net
CATEGORY:=Networking CATEGORY:=Networking
TITLE:=youtubeUnblock TITLE:=youtubeUnblock
URL:=https://github.com/Waujito/youtubeUnblock
MAINTAINER:=Vadim Vetrov <vetrovvd@gmail.com>
endef endef
define Package/youtubeUnblock/description define Package/youtubeUnblock/description
@ -21,8 +26,7 @@ define Package/youtubeUnblock/description
endef endef
define Build/Prepare define Build/Prepare
mkdir -p $(PKG_BUILD_DIR) $(Build/Prepare/Default)
cp -r $(SOURCE_DIR)/* $(PKG_BUILD_DIR)
$(Build/Patch) $(Build/Patch)
endef endef