wok-6.x view youtube-dl/receipt @ rev 25565

Reenable rpc for glibc, fix gpxe grub4dos receipt, fix linld url
author Stanislas Leduc <shann@slitaz.org>
date Tue May 09 17:24:00 2023 +0000 (18 months ago)
parents 922f061231c2
children
line source
1 # SliTaz package receipt.
3 PACKAGE="youtube-dl"
4 VERSION="2020.05.08"
5 CATEGORY="utilities"
6 SHORT_DESC="Downloads videos from various streaming websites."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://rg3.github.io/youtube-dl/"
11 TARBALL="$PACKAGE-${VERSION//./-}"
12 WGET_URL="https://yt-dl.org/downloads/$VERSION/youtube-dl"
14 DEPENDS="python"
15 BUILD_DEPENDS="python"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://pypi.org/project/youtube_dl/ 2>/dev/null | \
21 sed '/youtube_dl 2/!d;s|.*dl ||;q'
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin
29 cp $src/$TARBALL $fs/usr/bin/$PACKAGE
30 chmod +x $fs/usr/bin/$PACKAGE
31 }