wok-6.x diff gdb/receipt @ rev 25530

Up perl-io (1.51)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 27 09:07:28 2023 +0000 (20 months ago)
parents 71360a13cd94
children
line diff
     1.1 --- a/gdb/receipt	Fri Jan 28 18:19:21 2022 +0000
     1.2 +++ b/gdb/receipt	Mon Feb 27 09:07:28 2023 +0000
     1.3 @@ -1,18 +1,23 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gdb"
     1.7 -VERSION="7.7"
     1.8 +VERSION="11.2"
     1.9  CATEGORY="development"
    1.10 +TAGS="debug"
    1.11  SHORT_DESC="The GNU Project Debugger."
    1.12  MAINTAINER="erjo@slitaz.org"
    1.13 -LICENSE="GPL2"
    1.14 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15 -WEB_SITE="http://www.gnu.org/software/gdb/"
    1.16 +LICENSE="GPL3"
    1.17 +WEB_SITE="https://www.gnu.org/software/gdb/"
    1.18 +
    1.19 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.20  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.21 +
    1.22 +SUGGESTED="gdb-lang"
    1.23 +DEPENDS="expat gcc83-lib-base glibc-dev gmp ncurses"
    1.24 +BUILD_DEPENDS="gcc83 gmp-dev ncurses-dev readline-dev"
    1.25 +
    1.26  HOST_ARCH="i486 arm"
    1.27  
    1.28 -DEPENDS="ncurses expat glibc-dev"
    1.29 -BUILD_DEPENDS="ncurses-dev readline-dev"
    1.30  
    1.31  # What is the latest version available today?
    1.32  current_version()
    1.33 @@ -24,17 +29,19 @@
    1.34  # Rules to configure and make the package.
    1.35  compile_rules()
    1.36  {
    1.37 -	./configure \
    1.38 -		--with-python=no \
    1.39 -		--disable-werror \
    1.40 -		$CONFIGURE_ARGS && \
    1.41 -	make && make install
    1.42 +	./configure			\
    1.43 +		CC=gcc-83		\
    1.44 +		CXX=g++-83		\
    1.45 +		--with-python=no	\
    1.46 +		--disable-werror	\
    1.47 +		$CONFIGURE_ARGS &&
    1.48 +	make &&
    1.49 +	make install
    1.50  }
    1.51  
    1.52  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.53  genpkg_rules()
    1.54  {
    1.55 -	mkdir -p $fs/usr
    1.56 -	cp -a $install/usr/bin $fs/usr
    1.57 +	cook_copy_folders	bin
    1.58  }
    1.59