wok-current rev 22589

updated cgdb (0.6.5 -> 0.7.1)
author Hans-G?nter Theisgen
date Tue Jan 07 15:47:23 2020 +0100 (2020-01-07)
parents a5216cf15fbc
children f3bcc468a2c4
files cgdb/receipt
line diff
     1.1 --- a/cgdb/receipt	Tue Jan 07 15:32:27 2020 +0100
     1.2 +++ b/cgdb/receipt	Tue Jan 07 15:47:23 2020 +0100
     1.3 @@ -1,33 +1,37 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="cgdb"
     1.7 -VERSION="0.6.5"
     1.8 +VERSION="0.7.1"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Curses interface for GDB"
    1.11 +TAGS="debugger"
    1.12 +SHORT_DESC="Curses interface for GDB."
    1.13  MAINTAINER="erjo@slitaz.org"
    1.14  LICENSE="GPL2"
    1.15 +WEB_SITE="http://cgdb.sourceforge.net/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18 -WEB_SITE="http://cgdb.sourceforge.net/"
    1.19  WGET_URL="http://prdownloads.sourceforge.net/cgdb/$TARBALL"
    1.20 -TAGS="debugger"
    1.21 +
    1.22 +DEPENDS="gcc83-lib-base gdb ncurses readline"
    1.23 +BUILD_DEPENDS="gcc83 ncurses-dev readline-dev texinfo"
    1.24 +
    1.25  CROSS="error: cannot check for file existence when cross compiling"
    1.26  
    1.27 -DEPENDS="gdb ncurses readline"
    1.28 -BUILD_DEPENDS="ncurses-dev readline-dev"
    1.29 -
    1.30  # Rules to configure and make the package.
    1.31  compile_rules()
    1.32  {
    1.33 -	./configure \
    1.34 -		--build=$HOST_SYSTEM \
    1.35 -		--host=$HOST_SYSTEM && 
    1.36 -	make && make install
    1.37 +	./configure			\
    1.38 +		CC=gcc-83		\
    1.39 +		CXX=g++-83		\
    1.40 +		--build=$HOST_SYSTEM	\
    1.41 +		--host=$HOST_SYSTEM &&
    1.42 +	make &&
    1.43 +	make install
    1.44  }
    1.45  
    1.46  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.47  genpkg_rules()
    1.48  {
    1.49  	mkdir -p $fs/usr
    1.50 -	cp -a $install/usr/bin $fs/usr
    1.51 +	cp -a $install/usr/bin	$fs/usr
    1.52  }
    1.53 -