wok-6.x view sdcc/receipt @ rev 14838

xfdesktop: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 17 16:35:50 2013 +0200 (2013-07-17)
parents c4289b5fcf5d
children 7896f0694ef6
line source
1 # SliTaz package receipt.
3 PACKAGE="sdcc"
4 VERSION="3.2.0"
5 CATEGORY="development"
6 SHORT_DESC="Retargettable C compiler for 8051, Z80 and 68HC08."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-src-$VERSION.tar.bz2"
9 WEB_SITE="http://sdcc.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE/$VERSION/$TARBALL"
11 TAGS="cross compiler C 8051 Z80 68HC08 assembler"
12 BUILD_DEPENDS="flex libboost-graph-dev gputils"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i 's/exec/[ "$1" == ":" ] || &/' device/lib/pic16/depcomp
19 sed -i 's/ -u$//' device/lib/Makefile*
21 ./configure --prefix=/usr --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cp -a $install/usr $fs
32 }