wok diff libiec61883/receipt @ rev 25445

itaka: fix wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 06 07:38:52 2022 +0000 (2022-09-06)
parents 9b180a3071fb
children 694752fdbc0d
line diff
     1.1 --- a/libiec61883/receipt	Sun May 08 09:19:55 2022 +0000
     1.2 +++ b/libiec61883/receipt	Tue Sep 06 07:38:52 2022 +0000
     1.3 @@ -6,10 +6,8 @@
     1.4  SHORT_DESC="libiec61883 is a standard defining a high speed serial bus."
     1.5  MAINTAINER="pankso@slitaz.org"
     1.6  LICENSE="LGPL2.1"
     1.7 -#TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.8 -TARBALL="${PACKAGE}_$VERSION.orig.tar.gz"
     1.9 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.10  WEB_SITE="https://ieee1394.wiki.kernel.org/index.php/Main_Page"
    1.11 -#WGET_URL="http://www.linux1394.org/dl/$TARBALL"
    1.12  WGET_URL="https://mirrors.edge.kernel.org/pub/linux/libs/ieee1394/$TARBALL"
    1.13  
    1.14  DEPENDS="libraw1394"
    1.15 @@ -18,14 +16,13 @@
    1.16  # What is the latest version available today?
    1.17  current_version()
    1.18  {
    1.19 -	wget -O - https://mirrors.edge.kernel.org/pub/linux/libs/ieee1394/ 2>/dev/null | \
    1.20 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
    1.21  	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
    1.22  }
    1.23  
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26  {
    1.27 -	cd $src
    1.28  	./configure \
    1.29  		--prefix=/usr \
    1.30  		--mandir=/usr/share/man \