wok-next diff sdcc/receipt @ rev 21274

gejengel: inserted modification of configure files from cooking
author Hans-G?nter Theisgen
date Sat Dec 07 15:42:09 2019 +0100 (2019-12-07)
parents a244e109372e
children 6a66c15a4531
line diff
     1.1 --- a/sdcc/receipt	Tue Aug 21 00:41:54 2018 +0300
     1.2 +++ b/sdcc/receipt	Sat Dec 07 15:42:09 2019 +0100
     1.3 @@ -3,33 +3,31 @@
     1.4  PACKAGE="sdcc"
     1.5  VERSION="3.6.0"
     1.6  CATEGORY="development"
     1.7 -SHORT_DESC="Retargettable C compiler for 8051, Z80 and 68HC08."
     1.8 +SHORT_DESC="Retargettable C compiler for 8051, Z80 and 68HC08"
     1.9  MAINTAINER="pascal.bellard@slitaz.org"
    1.10  LICENSE="GPL2"
    1.11 +WEB_SITE="http://sdcc.sourceforge.net/"
    1.12 +
    1.13  TARBALL="$PACKAGE-src-$VERSION.tar.bz2"
    1.14 -WEB_SITE="http://sdcc.sourceforge.net/"
    1.15 -WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE/$VERSION/$TARBALL"
    1.16 -TAGS="cross compiler C 8051 Z80 68HC08 assembler"
    1.17 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.18 +
    1.19 +BUILD_DEPENDS="flex boost-dev boost-graph gputils texinfo"
    1.20  COOKOPTS="!strip"
    1.21  
    1.22 -BUILD_DEPENDS="flex boost-dev boost-graph gputils texinfo"
    1.23 -
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 +compile_rules() {
    1.28  	#sed -i 's/exec/[ "$1" == ":" ] || &/' device/lib/pic16/depcomp
    1.29  	#sed -i 's/ -u$//' device/lib/Makefile*
    1.30  
    1.31 -	./configure --prefix=/usr --infodir=/usr/share/info \
    1.32 -	--mandir=/usr/share/man \
    1.33 -	$CONFIGURE_ARGS &&
    1.34 +	./configure \
    1.35 +		--prefix=/usr \
    1.36 +		--infodir=/usr/share/info \
    1.37 +		--mandir=/usr/share/man \
    1.38 +		$CONFIGURE_ARGS &&
    1.39  	make &&
    1.40 -	make DESTDIR=$DESTDIR install
    1.41 +	make DESTDIR=$install install
    1.42  }
    1.43  
    1.44 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.45 -genpkg_rules()
    1.46 -{
    1.47 +genpkg_rules() {
    1.48  	cp -a $install/usr $fs
    1.49 +	TAGS="cross compiler C 8051 Z80 68HC08 assembler"
    1.50  }
    1.51 -