wok annotate sdcc/receipt @ rev 23945

Up slitaz-base-files (342)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 18 18:47:32 2020 +0000 (2020-09-18)
parents 7560f38771b5
children e919c5a2742d
rev   line source
pascal@11212 1 # SliTaz package receipt.
pascal@11212 2
pascal@11212 3 PACKAGE="sdcc"
Hans-G?nter@23636 4 VERSION="4.0.0"
pascal@11212 5 CATEGORY="development"
Hans-G?nter@23636 6 TAGS="cross compiler C 8051 Z80 68HC08 assembler"
pascal@11212 7 SHORT_DESC="Retargettable C compiler for 8051, Z80 and 68HC08."
pascal@11212 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15002 9 LICENSE="GPL2"
Hans-G?nter@23636 10 WEB_SITE="http://sdcc.sourceforge.net/"
Hans-G?nter@23636 11
pascal@11212 12 TARBALL="$PACKAGE-src-$VERSION.tar.bz2"
pascal@11212 13 WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE/$VERSION/$TARBALL"
pascal@15002 14
pascal@22346 15 DEPENDS="gcc83-lib-base"
pascal@23884 16 BUILD_DEPENDS="automake flex gcc83 gcc83-lib-base gputils libboost-graph-dev texinfo"
pascal@11212 17
pascal@11212 18 # Rules to configure and make the package.
pascal@11212 19 compile_rules()
pascal@11212 20 {
Hans-G?nter@23636 21 ./configure \
Hans-G?nter@23636 22 CC=gcc-83 \
Hans-G?nter@23636 23 CXX=g++-83 \
Hans-G?nter@23636 24 --prefix=/usr \
Hans-G?nter@23636 25 --infodir=/usr/share/info \
Hans-G?nter@23636 26 --mandir=/usr/share/man \
Hans-G?nter@23636 27 $CONFIGURE_ARGS &&
pascal@11212 28 make &&
pascal@13037 29 make DESTDIR=$DESTDIR install
pascal@11212 30 }
pascal@11212 31
pascal@11212 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11212 33 genpkg_rules()
pascal@11212 34 {
Hans-G?nter@23636 35 cp -a $install/usr $fs
pascal@11212 36 }