wok rev 25619

Up youtube-dl (2021.12.17)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 30 10:43:14 2023 +0000 (8 months ago)
parents 1659aa0207dd
children aff60e1ea082
files btanks/receipt openscad/receipt portaudio-dev/receipt portaudio/receipt soprano-dev/receipt soprano/receipt youtube-dl/receipt
line diff
     1.1 --- a/btanks/receipt	Mon Aug 28 14:28:52 2023 +0000
     1.2 +++ b/btanks/receipt	Wed Aug 30 10:43:14 2023 +0000
     1.3 @@ -6,7 +6,7 @@
     1.4  SHORT_DESC="A fast 2d tank arcade game with multiplayer and split-screen modes."
     1.5  MAINTAINER="slaxemulator@gmail.com"
     1.6  LICENSE="GPL2"
     1.7 -WEB_SITE="https://btanks.sourceforge.net/"
     1.8 +WEB_SITE="https://sourceforge.net/projects/btanks/"
     1.9  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.10  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.11  
     2.1 --- a/openscad/receipt	Mon Aug 28 14:28:52 2023 +0000
     2.2 +++ b/openscad/receipt	Wed Aug 30 10:43:14 2023 +0000
     2.3 @@ -7,8 +7,8 @@
     2.4  MAINTAINER="pascal.bellard@slitaz.org"
     2.5  LICENSE="GPL2"
     2.6  TARBALL="$PACKAGE-$VERSION.src.tar.gz"
     2.7 -WEB_SITE="http://www.openscad.org/"
     2.8 -WGET_URL="http://files.openscad.org//$TARBALL"
     2.9 +WEB_SITE="https://www.openscad.org/"
    2.10 +WGET_URL="https://files.openscad.org//$TARBALL"
    2.11  
    2.12  DEPENDS="cgal gmp mpfr glew opencsg mesa libboost-program-options \
    2.13  libboost-filesystem libboost-thread libboost-regex libQtOpenGL \
     3.1 --- a/portaudio-dev/receipt	Mon Aug 28 14:28:52 2023 +0000
     3.2 +++ b/portaudio-dev/receipt	Wed Aug 30 10:43:14 2023 +0000
     3.3 @@ -6,7 +6,7 @@
     3.4  SHORT_DESC="Portaudio - development files."
     3.5  MAINTAINER="erjo@slitaz.org"
     3.6  LICENSE="MIT"
     3.7 -WEB_SITE="http://www.portaudio.com/"
     3.8 +WEB_SITE="https://www.portaudio.com/"
     3.9  
    3.10  DEPENDS="portaudio pkg-config"
    3.11  WANTED="portaudio"
     4.1 --- a/portaudio/receipt	Mon Aug 28 14:28:52 2023 +0000
     4.2 +++ b/portaudio/receipt	Wed Aug 30 10:43:14 2023 +0000
     4.3 @@ -6,7 +6,7 @@
     4.4  SHORT_DESC="A portable cross-platform audio API."
     4.5  MAINTAINER="erjo@slitaz.org"
     4.6  LICENSE="MIT"
     4.7 -WEB_SITE="http://www.portaudio.com/"
     4.8 +WEB_SITE="https://www.portaudio.com/"
     4.9  
    4.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    4.11  WGET_URL="https://github.com/PortAudio/$PACKAGE/archive/refs/tags/v$VERSION.tar.gz"
     5.1 --- a/soprano-dev/receipt	Mon Aug 28 14:28:52 2023 +0000
     5.2 +++ b/soprano-dev/receipt	Wed Aug 30 10:43:14 2023 +0000
     5.3 @@ -6,7 +6,7 @@
     5.4  SHORT_DESC="Soprano - development files."
     5.5  MAINTAINER="pankso@slitaz.org"
     5.6  LICENSE="GPL2"
     5.7 -WEB_SITE="https://soprano.sourceforge.net/"
     5.8 +WEB_SITE="https://sourceforge.net/projects/soprano/"
     5.9  
    5.10  DEPENDS="pkg-config"
    5.11  WANTED="soprano"
     6.1 --- a/soprano/receipt	Mon Aug 28 14:28:52 2023 +0000
     6.2 +++ b/soprano/receipt	Wed Aug 30 10:43:14 2023 +0000
     6.3 @@ -6,7 +6,7 @@
     6.4  SHORT_DESC="Soprano is the Qt/C++ RDF framework."
     6.5  MAINTAINER="pankso@slitaz.org"
     6.6  LICENSE="GPL2"
     6.7 -WEB_SITE="https://soprano.sourceforge.net/"
     6.8 +WEB_SITE="https://sourceforge.net/projects/soprano/"
     6.9  
    6.10  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    6.11  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
     7.1 --- a/youtube-dl/receipt	Mon Aug 28 14:28:52 2023 +0000
     7.2 +++ b/youtube-dl/receipt	Wed Aug 30 10:43:14 2023 +0000
     7.3 @@ -1,31 +1,37 @@
     7.4  # SliTaz package receipt.
     7.5  
     7.6  PACKAGE="youtube-dl"
     7.7 -VERSION="2020.05.08"
     7.8 +VERSION="2021.12.17"
     7.9  CATEGORY="utilities"
    7.10  SHORT_DESC="Downloads videos from various streaming websites."
    7.11  MAINTAINER="gokhlayeh@slitaz.org"
    7.12  LICENSE="MIT"
    7.13 -WEB_SITE="https://rg3.github.io/youtube-dl/"
    7.14 +WEB_SITE="https://github.com/ytdl-org/youtube-dl"
    7.15  
    7.16 -TARBALL="$PACKAGE-${VERSION//./-}"
    7.17 -WGET_URL="https://yt-dl.org/downloads/$VERSION/youtube-dl"
    7.18 +TARBALL="$PACKAGE-${VERSION//./-}.tar.gz"
    7.19 +WGET_URL="https://github.com/ytdl-org/youtube-dl/archive/refs/tags/$VERSION.tar.gz"
    7.20  
    7.21  DEPENDS="python"
    7.22 -BUILD_DEPENDS="python"
    7.23 +BUILD_DEPENDS="python setuptools"
    7.24  
    7.25  # What is the latest version available today?
    7.26  current_version()
    7.27  {
    7.28 -	wget -O - https://pypi.org/project/youtube_dl/ 2>/dev/null | \
    7.29 -	sed '/youtube_dl 2/!d;s|.*dl ||;q'
    7.30 +	wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    7.31 +	sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
    7.32 +}
    7.33 +
    7.34 +# Rules to configure and make the package.
    7.35 +compile_rules()
    7.36 +{
    7.37 +	python setup.py build &&
    7.38 +	python setup.py install --root=$DESTDIR
    7.39  }
    7.40  
    7.41  # Rules to gen a SliTaz package suitable for Tazpkg.
    7.42  genpkg_rules()
    7.43  {
    7.44 -	mkdir -p $fs/usr/bin
    7.45 -
    7.46 -	cp $src/$TARBALL	$fs/usr/bin/$PACKAGE
    7.47 -	chmod +x		$fs/usr/bin/$PACKAGE
    7.48 +	mkdir -p $fs/usr
    7.49 +	cp -a $install/usr/bin	$fs/usr/
    7.50 +	cp -a $install/usr/lib	$fs/usr/
    7.51  }