wok view sdcc/receipt @ rev 24170
updated otf-gfs
author | Hans-G?nter Theisgen |
---|---|
date | Wed Dec 29 07:55:54 2021 +0100 (2021-12-29) |
parents | 7560f38771b5 |
children | e919c5a2742d |
line source
1 # SliTaz package receipt.
3 PACKAGE="sdcc"
4 VERSION="4.0.0"
5 CATEGORY="development"
6 TAGS="cross compiler C 8051 Z80 68HC08 assembler"
7 SHORT_DESC="Retargettable C compiler for 8051, Z80 and 68HC08."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://sdcc.sourceforge.net/"
12 TARBALL="$PACKAGE-src-$VERSION.tar.bz2"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE/$VERSION/$TARBALL"
15 DEPENDS="gcc83-lib-base"
16 BUILD_DEPENDS="automake flex gcc83 gcc83-lib-base gputils libboost-graph-dev texinfo"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 CC=gcc-83 \
23 CXX=g++-83 \
24 --prefix=/usr \
25 --infodir=/usr/share/info \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/usr $fs
36 }