wok rev 25700
nano, rtaudio, xlogo: update web_site / wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 27 16:31:35 2024 +0000 (5 months ago) |
parents | 65c2646b484d |
children | 0ca06bfb352a |
files | nano/receipt rtaudio/receipt xlogo/receipt |
line diff
1.1 --- a/nano/receipt Sun May 26 16:05:16 2024 +0000 1.2 +++ b/nano/receipt Mon May 27 16:31:35 2024 +0000 1.3 @@ -10,7 +10,7 @@ 1.4 WEB_SITE="https://www.nano-editor.org/" 1.5 1.6 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.7 -WGET_URL="${WEB_SITE}dist/v${VERSION%.*}/$TARBALL" 1.8 +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 1.9 1.10 SUGGESTED="gpm nano-doc nano-lang" 1.11 DEPENDS="ncursesw zlib" 1.12 @@ -24,10 +24,11 @@ 1.13 arm*) BUILD_DEPENDS="ncursesw-dev zlib-dev" ;; 1.14 esac 1.15 1.16 +# What is the latest version available today? 1.17 current_version() 1.18 { 1.19 - wget -O - $WEB_SITE 2>/dev/null | \ 1.20 - sed '/^[0-9]/!d;s|&.*||;q' 1.21 + wget -O - https://ftp.gnu.org/gnu/$PACKAGE/ 2>/dev/null | \ 1.22 + sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q 1.23 } 1.24 1.25 # Rules to configure and make the package. 1.26 @@ -40,6 +41,7 @@ 1.27 --sysconfdir=/etc \ 1.28 --localstatedir=/var \ 1.29 --enable-utf8 \ 1.30 + --disable-libmagic \ 1.31 $CONFIGURE_ARGS \ 1.32 $ARCH_ARGS && 1.33 make &&
2.1 --- a/rtaudio/receipt Sun May 26 16:05:16 2024 +0000 2.2 +++ b/rtaudio/receipt Mon May 27 16:31:35 2024 +0000 2.3 @@ -6,24 +6,25 @@ 2.4 SHORT_DESC="Common API for realtime audio input and output (C++ classes)." 2.5 MAINTAINER="pankso@slitaz.org" 2.6 LICENSE="MIT" 2.7 -WEB_SITE="https://www.music.mcgill.ca/~gary/rtaudio/" 2.8 +WEB_SITE="https://github.com/thestk/rtaudio/" 2.9 2.10 TARBALL="${PACKAGE}-${VERSION}.tar.gz" 2.11 -WGET_URL="${WEB_SITE}release/$TARBALL" 2.12 +WGET_URL="https://github.com/thestk/rtaudio/archive/refs/tags/$VERSION.tar.gz" 2.13 2.14 DEPENDS="alsa-lib gcc83-lib-base jack-audio-connection-kit" 2.15 -BUILD_DEPENDS="alsa-lib-dev gcc83 jack-audio-connection-kit-dev" 2.16 +BUILD_DEPENDS="alsa-lib-dev gcc83 jack-audio-connection-kit-dev automake" 2.17 2.18 # What is the latest version available today? 2.19 current_version() 2.20 { 2.21 - wget -O - ${WGET_URL%/*} 2>/dev/null | \ 2.22 - sed "/snapshot/d;/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 2.23 + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 2.24 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 2.25 } 2.26 2.27 # Rules to configure and make the package. 2.28 compile_rules() 2.29 { 2.30 + ./autogen.sh 2.31 ./configure \ 2.32 CC=gcc-83 \ 2.33 CXX=g++-83 \
3.1 --- a/xlogo/receipt Sun May 26 16:05:16 2024 +0000 3.2 +++ b/xlogo/receipt Mon May 27 16:31:35 2024 +0000 3.3 @@ -7,7 +7,7 @@ 3.4 MAINTAINER="claudinei@slitaz.org" 3.5 LICENSE="GPL" 3.6 TARBALL="xlogo.jar" 3.7 -WEB_SITE="http://xlogo.tuxfamily.org" 3.8 +WEB_SITE="https://gitlab.freedesktop.org/xorg/app/xlogo" 3.9 3.10 DEPENDS="java-jre" 3.11 BUILD_DEPENDS=""