wok-6.x view sdcc/receipt @ rev 21497
updated mtools (4.0.16 -> 4.0.23)
author | Hans-G?nter Theisgen |
---|---|
date | Thu May 02 13:07:21 2019 +0100 (2019-05-02) |
parents | 7896f0694ef6 |
children | 937925ea7478 |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-src-$VERSION.tar.bz2"
10 WEB_SITE="http://sdcc.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE/$VERSION/$TARBALL"
12 TAGS="cross compiler C 8051 Z80 68HC08 assembler"
14 BUILD_DEPENDS="flex libboost-graph-dev gputils"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i 's/exec/[ "$1" = ":" ] || &/' device/lib/pic16/depcomp
21 sed -i 's/ -u$//' device/lib/Makefile*
23 ./configure --prefix=/usr --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/usr $fs
34 }