wok annotate youtube-dl/receipt @ rev 24736

updated libev and libev-dev (4.31 -> 4.33)
author Hans-G?nter Theisgen
date Wed Mar 16 09:25:45 2022 +0100 (2022-03-16)
parents 4899cc5a72a1
children cb67b4f8be05
rev   line source
gokhlayeh@8882 1 # SliTaz package receipt.
gokhlayeh@8882 2
gokhlayeh@8882 3 PACKAGE="youtube-dl"
Hans-G?nter@23790 4 VERSION="2020.05.08"
gokhlayeh@8882 5 CATEGORY="utilities"
gokhlayeh@8882 6 SHORT_DESC="Downloads videos from various streaming websites."
gokhlayeh@8882 7 MAINTAINER="gokhlayeh@slitaz.org"
pascal@15362 8 LICENSE="MIT"
pascal@24304 9 WEB_SITE="http://rg3.github.io/youtube-dl/"
Hans-G?nter@22324 10
pascal@20450 11 TARBALL="$PACKAGE-${VERSION//./-}"
devl547@16288 12 WGET_URL="https://yt-dl.org/downloads/$VERSION/youtube-dl"
gokhlayeh@8882 13
slaxemulator@10359 14 DEPENDS="python"
Hans-G?nter@22324 15 BUILD_DEPENDS="python"
devl547@16288 16
pascal@24304 17 # What is the latest version available today?
pascal@24304 18 current_version()
pascal@24304 19 {
pascal@24304 20 wget -O - https://pypi.org/project/youtube_dl/ 2>/dev/null | \
pascal@24304 21 sed '/youtube_dl 2/!d;s|.*dl ||;q'
pascal@24304 22 }
pascal@24304 23
gokhlayeh@8882 24 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@8882 25 genpkg_rules()
gokhlayeh@8882 26 {
slaxemulator@11122 27 mkdir -p $fs/usr/bin
Hans-G?nter@23790 28
Hans-G?nter@23790 29 cp $src/$TARBALL $fs/usr/bin/$PACKAGE
Hans-G?nter@23790 30 chmod +x $fs/usr/bin/$PACKAGE
pankso@9802 31 }