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

Up kbd-busybox (2.0.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 09 19:13:42 2015 +0200 (2015-06-09)
parents f0a8f24df1c6
children 660d2ec024d1
line source
1 # SliTaz package receipt.
3 PACKAGE="youtube-dl"
4 VERSION="2014.10.27"
5 CATEGORY="utilities"
6 SHORT_DESC="Downloads videos from various streaming websites."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE"
10 WEB_SITE="http://rg3.github.com/youtube-dl/"
11 WGET_URL="https://yt-dl.org/downloads/$VERSION/youtube-dl"
13 DEPENDS="python"
14 BUILD_DEPENDS="wget python"
16 compile_rules()
17 {
18 chmod +x $src/youtube-dl
19 echo | $src/youtube-dl
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/bin
26 cp -a $src/youtube-dl $fs/usr/bin
27 chmod +x $fs/usr/bin/$PACKAGE
28 }