wok-6.x diff gtk-gnutella/receipt @ rev 25312
updated smartmontools (7.2 -> 7.3)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 20 17:27:26 2022 +0100 (2022-07-20) |
parents | 932cd974e081 |
children | ad0bc3efbf37 |
line diff
1.1 --- a/gtk-gnutella/receipt Tue Feb 08 18:20:23 2022 +0000 1.2 +++ b/gtk-gnutella/receipt Wed Jul 20 17:27:26 2022 +0100 1.3 @@ -8,8 +8,8 @@ 1.4 LICENSE="GPL2" 1.5 WEB_SITE="https://sourceforge.net/projects/gtk-gnutella/" 1.6 1.7 -TARBALL="$PACKAGE-$VERSION.tar.xz" 1.8 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.9 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.10 +WGET_URL="https://github.com/gtk-gnutella/gtk-gnutella/archive/v$VERSION.tar.gz" 1.11 1.12 DEPENDS="expat gnutls gtk+ libgcrypt libgpg-error libtasn1 libxml2 1.13 xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor 1.14 @@ -21,14 +21,22 @@ 1.15 # What is the latest version available today? 1.16 current_version() 1.17 { 1.18 - wget -O - https://sourceforge.net/projects/gtk-gnutella/files/gtk-gnutella/ 2>/dev/null | \ 1.19 - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 1.20 - sed '/scope="row/!d;s|.*/gtk-gnutella/||;s|/.*||;q' 1.21 + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 1.22 + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 1.23 } 1.24 1.25 # Rules to configure and make the package. 1.26 compile_rules() 1.27 { 1.28 + # binutils 2.34+ support 1.29 + sed -e 's|bfd_get_|bfd_|g' \ 1.30 + -e 's|bfd_error(|bfd_get_error(|' \ 1.31 + -e 's|bfd_file_flags|bfd_get_file_flags|' \ 1.32 + -e 's|bfd_section_vma(b, |bfd_section_vma(|' \ 1.33 + -e 's|bfd_symbol_info(bc->handle, |bfd_symbol_info(|' \ 1.34 + -e 's|bfd_section_flags(b, |bfd_section_flags(|' \ 1.35 + -i src/lib/bfd_util.c 1.36 + 1.37 ./build.sh \ 1.38 --prefix=/usr \ 1.39 --disable-dbus \