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

updated libburn and libburn-dev (1.5.2 -> 1.5.4)
author Hans-G?nter Theisgen
date Tue Mar 15 09:33:23 2022 +0100 (2022-03-15)
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 }