wok rev 13037
Up sdcc (3.1.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 13 09:27:03 2012 +0200 (2012-06-13) |
parents | ccb41e668740 |
children | 898b528602d0 |
files | sdcc/receipt |
line diff
1.1 --- a/sdcc/receipt Wed Jun 13 09:11:51 2012 +0200 1.2 +++ b/sdcc/receipt Wed Jun 13 09:27:03 2012 +0200 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="sdcc" 1.7 -VERSION="2.9.0" 1.8 +VERSION="3.1.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" 1.17 +BUILD_DEPENDS="flex gcc3 libboost-graph-dev" 1.18 1.19 # Rules to configure and make the package. 1.20 compile_rules() 1.21 @@ -22,11 +22,15 @@ 1.22 sed -i 's/all %/%/' device/lib/pic/Makefile.in 1.23 find -name getline.h | xargs sed -i \ 1.24 's/char.*getline/#define getline sdcc_getline\nchar *sdcc_getline/' 1.25 - ./configure --prefix=/usr --infodir=/usr/share/info \ 1.26 + 1.27 + # 1- build hang forever with gcc 4.6.3 for SDCCicode.c 1.28 + # 2- pic14 & pic16 needs http://gputils.sourceforge.net/ 1.29 + ./configure CC=gcc-3 --prefix=/usr --infodir=/usr/share/info \ 1.30 --mandir=/usr/share/man \ 1.31 + --disable-pic14-port --disable-pic16-port \ 1.32 $CONFIGURE_ARGS && 1.33 make && 1.34 - make DESTDIR=$PWD/_pkg install 1.35 + make DESTDIR=$DESTDIR install 1.36 } 1.37 1.38 # Rules to gen a SliTaz package suitable for Tazpkg.