wok-next rev 21446

updated sdcc (3.6.0 -> 4.0.0)
author Hans-G?nter Theisgen
date Tue May 05 17:13:21 2020 +0100 (2020-05-05)
parents 0292f102c629
children f796a7c14efd
files sdcc/receipt
line diff
     1.1 --- a/sdcc/receipt	Tue May 05 16:55:11 2020 +0100
     1.2 +++ b/sdcc/receipt	Tue May 05 17:13:21 2020 +0100
     1.3 @@ -1,8 +1,9 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="sdcc"
     1.7 -VERSION="3.6.0"
     1.8 +VERSION="4.0.0"
     1.9  CATEGORY="development"
    1.10 +TAGS="cross compiler C 8051 Z80 68HC08 assembler"
    1.11  SHORT_DESC="Retargettable C compiler for 8051, Z80 and 68HC08"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 @@ -11,23 +12,24 @@
    1.15  TARBALL="$PACKAGE-src-$VERSION.tar.bz2"
    1.16  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.17  
    1.18 -BUILD_DEPENDS="flex boost-dev boost-graph gputils texinfo"
    1.19 +BUILD_DEPENDS="boost-dev boost-graph flex gputils texinfo"
    1.20  COOKOPTS="!strip"
    1.21  
    1.22 -compile_rules() {
    1.23 +compile_rules()
    1.24 +{
    1.25  	#sed -i 's/exec/[ "$1" == ":" ] || &/' device/lib/pic16/depcomp
    1.26  	#sed -i 's/ -u$//' device/lib/Makefile*
    1.27  
    1.28 -	./configure \
    1.29 -		--prefix=/usr \
    1.30 -		--infodir=/usr/share/info \
    1.31 -		--mandir=/usr/share/man \
    1.32 +	./configure				\
    1.33 +		--prefix=/usr			\
    1.34 +		--infodir=/usr/share/info	\
    1.35 +		--mandir=/usr/share/man		\
    1.36  		$CONFIGURE_ARGS &&
    1.37  	make &&
    1.38  	make DESTDIR=$install install
    1.39  }
    1.40  
    1.41 -genpkg_rules() {
    1.42 -	cp -a $install/usr $fs
    1.43 -	TAGS="cross compiler C 8051 Z80 68HC08 assembler"
    1.44 +genpkg_rules()
    1.45 +{
    1.46 +	cp -a $install/usr	$fs
    1.47  }