wok-6.x annotate youtube-dl/receipt @ rev 20449
Up youtube-dl (2018.09.18)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 20 22:04:14 2018 +0200 (2018-09-20) |
parents | 660d2ec024d1 |
children | 9c21088bf854 |
rev | line source |
---|---|
gokhlayeh@8882 | 1 # SliTaz package receipt. |
gokhlayeh@8882 | 2 |
gokhlayeh@8882 | 3 PACKAGE="youtube-dl" |
pascal@20449 | 4 VERSION="2018.09.18" |
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" |
gokhlayeh@8882 | 9 TARBALL="$PACKAGE" |
gokhlayeh@8882 | 10 WEB_SITE="http://rg3.github.com/youtube-dl/" |
devl547@16288 | 11 WGET_URL="https://yt-dl.org/downloads/$VERSION/youtube-dl" |
gokhlayeh@8882 | 12 |
slaxemulator@10359 | 13 DEPENDS="python" |
devl547@16288 | 14 BUILD_DEPENDS="wget python" |
devl547@16288 | 15 |
devl547@16288 | 16 compile_rules() |
devl547@16288 | 17 { |
devl547@16288 | 18 chmod +x $src/youtube-dl |
devl547@16288 | 19 echo | $src/youtube-dl |
devl547@16288 | 20 } |
slaxemulator@10359 | 21 |
gokhlayeh@8882 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@8882 | 23 genpkg_rules() |
gokhlayeh@8882 | 24 { |
slaxemulator@11122 | 25 mkdir -p $fs/usr/bin |
slaxemulator@14605 | 26 cp -a $src/youtube-dl $fs/usr/bin |
gokhlayeh@8882 | 27 chmod +x $fs/usr/bin/$PACKAGE |
pankso@9802 | 28 } |