wok-next view sdcc/receipt @ rev 14929
Up: eina-dev (1.7.8)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Aug 08 19:15:33 2013 +0200 (2013-08-08) |
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 }