wok annotate youtube-dl/receipt @ rev 20346
npth update: 1.2 (2015 April) -> 1.5 (2017 June)
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sat Jun 09 10:34:39 2018 +0000 (2018-06-09) |
parents | 07e6ed530a24 |
children | e3d57f018fcb |
rev | line source |
---|---|
gokhlayeh@8882 | 1 # SliTaz package receipt. |
gokhlayeh@8882 | 2 |
gokhlayeh@8882 | 3 PACKAGE="youtube-dl" |
psychomaniak@18319 | 4 VERSION="2015.08.28" |
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 } |