wok diff youtube-dl/receipt @ rev 20700

updated afio (2.5.1 -> 2.5.2)
author Hans-G?nter Theisgen
date Tue Feb 05 17:01:36 2019 +0100 (2019-02-05)
parents e3d57f018fcb
children 7c5249848026
line diff
     1.1 --- a/youtube-dl/receipt	Thu Sep 20 22:04:14 2018 +0200
     1.2 +++ b/youtube-dl/receipt	Tue Feb 05 17:01:36 2019 +0100
     1.3 @@ -6,23 +6,17 @@
     1.4  SHORT_DESC="Downloads videos from various streaming websites."
     1.5  MAINTAINER="gokhlayeh@slitaz.org"
     1.6  LICENSE="MIT"
     1.7 -TARBALL="$PACKAGE"
     1.8 +TARBALL="$PACKAGE-${VERSION//./-}"
     1.9  WEB_SITE="http://rg3.github.com/youtube-dl/"
    1.10  WGET_URL="https://yt-dl.org/downloads/$VERSION/youtube-dl"
    1.11  
    1.12  DEPENDS="python"
    1.13  BUILD_DEPENDS="wget python"
    1.14  
    1.15 -compile_rules()
    1.16 -{
    1.17 -	chmod +x $src/youtube-dl
    1.18 -	echo | $src/youtube-dl
    1.19 -}
    1.20 -
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
    1.23  {
    1.24  	mkdir -p $fs/usr/bin
    1.25 -	cp -a $src/youtube-dl $fs/usr/bin
    1.26 +	cp $src/$TARBALL $fs/usr/bin/$PACKAGE
    1.27  	chmod +x $fs/usr/bin/$PACKAGE
    1.28  }