wok-current view youtube-dl/receipt @ rev 25590
Update cacerts, up elfutils url, fix pkg-config, py3k rebuild, and xorg build with gcc 6
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Aug 24 14:03:59 2023 +0000 (16 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 }