wok-6.x rev 13730

Up sdcc (3.2.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 22 17:18:47 2012 +0100 (2012-12-22)
parents 3d4df3952952
children 18f9cd000cd5
files sdcc/receipt
line diff
     1.1 --- a/sdcc/receipt	Sat Dec 22 16:41:33 2012 +0100
     1.2 +++ b/sdcc/receipt	Sat Dec 22 17:18:47 2012 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="sdcc"
     1.7 -VERSION="3.1.0"
     1.8 +VERSION="3.2.0"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Retargettable C compiler for 8051, Z80 and 68HC08."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -9,7 +9,7 @@
    1.13  WEB_SITE="http://sdcc.sourceforge.net/"
    1.14  WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE/$VERSION/$TARBALL"
    1.15  TAGS="cross compiler C 8051 Z80 68HC08 assembler"
    1.16 -BUILD_DEPENDS="flex gcc3 libboost-graph-dev"
    1.17 +BUILD_DEPENDS="flex gcc3 libboost-graph-dev gputils"
    1.18  
    1.19  # Rules to configure and make the package.
    1.20  compile_rules()
    1.21 @@ -18,16 +18,10 @@
    1.22  	cd $src
    1.23  	sed -i 's/exec/[ "$1" == ":" ] || &/' device/lib/pic16/depcomp
    1.24  	sed -i 's/ -u$//' device/lib/Makefile*
    1.25 -	sed -i '1i\#include <stdio.h>' sim/ucsim/cmd.src/cmdlex.cc
    1.26 -	sed -i 's/all %/%/' device/lib/pic/Makefile.in
    1.27 -	find -name getline.h | xargs sed -i \
    1.28 -	  's/char.*getline/#define getline sdcc_getline\nchar *sdcc_getline/'
    1.29  
    1.30 -	# 1- build hang forever with gcc 4.6.3 for SDCCicode.c
    1.31 -	# 2- pic14 & pic16 needs http://gputils.sourceforge.net/
    1.32 +	# build hang forever with gcc 4.6.3 for SDCCicode.c
    1.33  	./configure CC=gcc-3 --prefix=/usr --infodir=/usr/share/info \
    1.34  	--mandir=/usr/share/man \
    1.35 -	--disable-pic14-port --disable-pic16-port \
    1.36  	$CONFIGURE_ARGS &&
    1.37  	make &&
    1.38  	make DESTDIR=$DESTDIR install
    1.39 @@ -36,6 +30,6 @@
    1.40  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.41  genpkg_rules()
    1.42  {
    1.43 -	cp -a $_pkg/usr $fs
    1.44 +	cp -a $install/usr $fs
    1.45  }
    1.46