wok diff glib/receipt @ rev 25697

dool: reduced size of package
author Hans-G?nter Theisgen
date Sun May 12 07:10:04 2024 +0100 (11 days ago)
parents 324b3fa82b76
children
line diff
     1.1 --- a/glib/receipt	Mon May 24 11:24:29 2021 +0000
     1.2 +++ b/glib/receipt	Sun May 12 07:10:04 2024 +0100
     1.3 @@ -8,24 +8,24 @@
     1.4  LICENSE="GPL2"
     1.5  TARBALL="$PACKAGE-$VERSION.tar.xz"
     1.6  WEB_SITE="https://www.gtk.org/"
     1.7 -WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
     1.8 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"  
     1.9  HOST_ARCH="i486 arm"
    1.10  
    1.11  DEPENDS="pcre libffi libxml2 elfutils"
    1.12  BUILD_DEPENDS="pcre-dev libffi-dev gettext zlib-dev perl python-dev \
    1.13  elfutils-dev libxml2-dev libxml2-tools automake"
    1.14  
    1.15 -current_version()
    1.16 -{
    1.17 -	wget -O - $(dirname $WGET_URL) 2>/dev/null | sed '/LATEST/!d;s|.*IS-||;s|<.*||'
    1.18 -}
    1.19 -
    1.20  # Handle cross comilation. Use host Perl, Python, etc
    1.21  case "$ARCH" in
    1.22  	arm*)
    1.23  		BUILD_DEPENDS="pcre-dev libffi-dev zlib-dev elfutils-dev libxml2-dev" ;;
    1.24  esac
    1.25  
    1.26 +current_version()
    1.27 +{
    1.28 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | sed '/LATEST/!d;s|.*IS-||;s|<.*||'
    1.29 +}
    1.30 +
    1.31  # Rules to configure and make the package.
    1.32  compile_rules()
    1.33  {