wok view youtube-dl/receipt @ rev 24347

Up expat (2.4.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 02 09:41:22 2022 +0000 (2022-02-02)
parents 4899cc5a72a1
children cb67b4f8be05
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="http://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 }