wok-next diff youtube-dl/receipt @ rev 20683

Up pciids (20180517), usbids (20180504)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 18 15:15:42 2018 +0300 (2018-05-18)
parents 660d2ec024d1
children
line diff
     1.1 --- a/youtube-dl/receipt	Sat Aug 29 20:33:32 2015 +0200
     1.2 +++ b/youtube-dl/receipt	Fri May 18 15:15:42 2018 +0300
     1.3 @@ -1,28 +1,26 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="youtube-dl"
     1.8 -VERSION="2015.08.28"
     1.9 +VERSION="2018.03.14"
    1.10  CATEGORY="utilities"
    1.11 -SHORT_DESC="Downloads videos from various streaming websites."
    1.12 +SHORT_DESC="Downloads videos from various streaming websites"
    1.13  MAINTAINER="gokhlayeh@slitaz.org"
    1.14  LICENSE="MIT"
    1.15 -TARBALL="$PACKAGE"
    1.16 -WEB_SITE="http://rg3.github.com/youtube-dl/"
    1.17 -WGET_URL="https://yt-dl.org/downloads/$VERSION/youtube-dl"
    1.18 +WEB_SITE="http://rg3.github.io/youtube-dl/"
    1.19  
    1.20 -DEPENDS="python"
    1.21 -BUILD_DEPENDS="wget python"
    1.22 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.23 +WGET_URL="https://yt-dl.org/downloads/$VERSION/$TARBALL"
    1.24  
    1.25 -compile_rules()
    1.26 -{
    1.27 +BUILD_DEPENDS="python"
    1.28 +
    1.29 +compile_rules() {
    1.30  	chmod +x $src/youtube-dl
    1.31  	echo | $src/youtube-dl
    1.32 +
    1.33 +	install -Dm755 $src/youtube-dl $install/usr/bin/youtube-dl
    1.34  }
    1.35  
    1.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.37 -genpkg_rules()
    1.38 -{
    1.39 -	mkdir -p $fs/usr/bin
    1.40 -	cp -a $src/youtube-dl $fs/usr/bin
    1.41 -	chmod +x $fs/usr/bin/$PACKAGE
    1.42 +genpkg_rules() {
    1.43 +	copy @std
    1.44 +	DEPENDS="python"
    1.45  }