wok rev 25036

gtk-gnutella: binutils 2.34+ support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 13:10:56 2022 +0000 (23 months ago)
parents 699eb9be2e93
children 7ae189994f37
files fatcat/receipt glza/receipt gtk-gnutella/receipt lbzip2/receipt libdbi-dev/receipt libdbi/receipt mytop/receipt perl-template-toolkit/receipt
line diff
     1.1 --- a/fatcat/receipt	Fri May 20 18:11:13 2022 +0000
     1.2 +++ b/fatcat/receipt	Sat May 21 13:10:56 2022 +0000
     1.3 @@ -33,7 +33,7 @@
     1.4  genpkg_rules()
     1.5  {
     1.6  	mkdir -p $install/usr/share/man/man1
     1.7 -	cp $src/man/fatcat.1	$install/usr/man/man1
     1.8 +	cp $src/man/fatcat.1	$install/usr/share/man/man1
     1.9  	cp -a $src/docs		$install/usr/share/doc
    1.10  	cp -a $install/usr/	$fs/
    1.11  }
     2.1 --- a/glza/receipt	Fri May 20 18:11:13 2022 +0000
     2.2 +++ b/glza/receipt	Sat May 21 13:10:56 2022 +0000
     2.3 @@ -8,7 +8,7 @@
     2.4  LICENSE="Apache"
     2.5  WEB_SITE="https://encode.su/threads/1909-Tree-alpha-v0-1-download?p=55433"
     2.6  TARBALL="$PACKAGE-$VERSION.zip"
     2.7 -WGET_URL="https://encode.su/attachment.php?s=bd0e90e62fc3c2773c0991196f29eb4b&attachmentid=7173&d=1577648098"
     2.8 +WGET_URL="https://encode.su/attachment.php?s=a72a69ab5c0c400ef5fbc419099b4e0f&attachmentid=7173&d=1577648098"
     2.9  TAGS="compression"
    2.10  
    2.11  BUILD_DEPENDS="gcc49"
     3.1 --- a/gtk-gnutella/receipt	Fri May 20 18:11:13 2022 +0000
     3.2 +++ b/gtk-gnutella/receipt	Sat May 21 13:10:56 2022 +0000
     3.3 @@ -8,8 +8,8 @@
     3.4  LICENSE="GPL2"
     3.5  WEB_SITE="https://sourceforge.net/projects/gtk-gnutella/"
     3.6  
     3.7 -TARBALL="$PACKAGE-$VERSION.tar.xz"
     3.8 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
     3.9 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.10 +WGET_URL="https://github.com/gtk-gnutella/gtk-gnutella/archive/v$VERSION.tar.gz"
    3.11  
    3.12  DEPENDS="expat gnutls gtk+ libgcrypt libgpg-error libtasn1 libxml2 
    3.13  	xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor 
    3.14 @@ -21,14 +21,22 @@
    3.15  # What is the latest version available today?
    3.16  current_version()
    3.17  {
    3.18 -	wget -O - https://sourceforge.net/projects/gtk-gnutella/files/gtk-gnutella/ 2>/dev/null | \
    3.19 -	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    3.20 -	sed '/scope="row/!d;s|.*/gtk-gnutella/||;s|/.*||;q'
    3.21 +	wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
    3.22 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
    3.23  }
    3.24  
    3.25  # Rules to configure and make the package.
    3.26  compile_rules()
    3.27  {
    3.28 +	# binutils 2.34+ support
    3.29 +	sed -e 's|bfd_get_|bfd_|g' \
    3.30 +	    -e 's|bfd_error(|bfd_get_error(|' \
    3.31 +	    -e 's|bfd_file_flags|bfd_get_file_flags|' \
    3.32 +	    -e 's|bfd_section_vma(b, |bfd_section_vma(|' \
    3.33 +	    -e 's|bfd_symbol_info(bc->handle, |bfd_symbol_info(|' \
    3.34 +	    -e 's|bfd_section_flags(b, |bfd_section_flags(|' \
    3.35 +	    -i src/lib/bfd_util.c
    3.36 +
    3.37  	./build.sh		\
    3.38  		--prefix=/usr	\
    3.39  		--disable-dbus	\
     4.1 --- a/lbzip2/receipt	Fri May 20 18:11:13 2022 +0000
     4.2 +++ b/lbzip2/receipt	Sat May 21 13:10:56 2022 +0000
     4.3 @@ -8,7 +8,7 @@
     4.4  LICENSE="GPL3"
     4.5  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     4.6  WEB_SITE="https://github.com/kjn/lbzip2/"
     4.7 -WGET_URL="http://archive.lbzip2.org/$TARBALL"
     4.8 +WGET_URL="http://deb.debian.org/debian/pool/main/l/lbzip2/lbzip2_$VERSION.orig.tar.bz2"
     4.9  
    4.10  current_version()
    4.11  {
     5.1 --- a/libdbi-dev/receipt	Fri May 20 18:11:13 2022 +0000
     5.2 +++ b/libdbi-dev/receipt	Sat May 21 13:10:56 2022 +0000
     5.3 @@ -6,7 +6,7 @@
     5.4  SHORT_DESC="Database independent abstraction layer for C - development files."
     5.5  MAINTAINER="maintainer@slitaz.org"
     5.6  LICENSE="LGPL2+"
     5.7 -WEB_SITE="https://sourceforge.net/projects/libdbi/"
     5.8 +WEB_SITE="http://libdbi.sourceforge.net/"
     5.9  
    5.10  DEPENDS="libdbi pkg-config"
    5.11  WANTED="libdbi"
     6.1 --- a/libdbi/receipt	Fri May 20 18:11:13 2022 +0000
     6.2 +++ b/libdbi/receipt	Sat May 21 13:10:56 2022 +0000
     6.3 @@ -6,7 +6,7 @@
     6.4  SHORT_DESC="Database independent abstraction layer for C."
     6.5  MAINTAINER="maintainer@slitaz.org"
     6.6  LICENSE="LGPL2+"
     6.7 -WEB_SITE="https://sourceforge.net/projects/libdbi/"
     6.8 +WEB_SITE="http://libdbi.sourceforge.net/"
     6.9  
    6.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    6.11  WGET_URL="https://downloads.sourceforge.net/project/$PACKAGE/$PACKAGE/$PACKAGE-$VERSION/$TARBALL"
     7.1 --- a/mytop/receipt	Fri May 20 18:11:13 2022 +0000
     7.2 +++ b/mytop/receipt	Sat May 21 13:10:56 2022 +0000
     7.3 @@ -9,7 +9,7 @@
     7.4  WEB_SITE="http://jeremy.zawodny.com/mysql/mytop/"
     7.5  
     7.6  TARBALL="$PACKAGE-$VERSION.tar.gz"
     7.7 -WGET_URL="http://www.mysqlfanboy.com/mytop-3/$TARBALL"
     7.8 +WGET_URL="http://deb.debian.org/debian/pool/main/m/mytop/mytop_$VERSION.orig.tar.gz"
     7.9  
    7.10  DEPENDS="perl-dbd-mysql perl-dbi perl-term-readkey"
    7.11  BUILD_DEPENDS="$DEPENDS"
     8.1 --- a/perl-template-toolkit/receipt	Fri May 20 18:11:13 2022 +0000
     8.2 +++ b/perl-template-toolkit/receipt	Sat May 21 13:10:56 2022 +0000
     8.3 @@ -11,7 +11,7 @@
     8.4  
     8.5  SOURCE="Template-Toolkit"
     8.6  TARBALL="$SOURCE-$VERSION.tar.gz"
     8.7 -WGET_URL="https://www.cpan.org/modules/by-module/Template/$TARBALL"
     8.8 +WGET_URL="https://cpan.metacpan.org/authors/id/A/AT/ATOOMIC/$TARBALL"
     8.9  
    8.10  DEPENDS="perl perl-appconfig"
    8.11  BUILD_DEPENDS="perl perl-appconfig"