wok annotate sdcc/receipt @ rev 22986
cookutils: add check-wok
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 01 12:47:04 2020 +0100 (2020-03-01) |
parents | 02c70d036ea0 |
children | 7560f38771b5 |
rev | line source |
---|---|
pascal@11212 | 1 # SliTaz package receipt. |
pascal@11212 | 2 |
pascal@11212 | 3 PACKAGE="sdcc" |
pascal@22346 | 4 VERSION="3.9.0" |
pascal@11212 | 5 CATEGORY="development" |
pascal@11212 | 6 SHORT_DESC="Retargettable C compiler for 8051, Z80 and 68HC08." |
pascal@11212 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
pascal@11212 | 9 TARBALL="$PACKAGE-src-$VERSION.tar.bz2" |
pascal@11212 | 10 WEB_SITE="http://sdcc.sourceforge.net/" |
pascal@11212 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE/$VERSION/$TARBALL" |
pascal@13033 | 12 TAGS="cross compiler C 8051 Z80 68HC08 assembler" |
pascal@15002 | 13 |
pascal@22346 | 14 DEPENDS="gcc83-lib-base" |
pascal@22346 | 15 BUILD_DEPENDS="flex libboost-graph-dev gputils gcc83" |
pascal@11212 | 16 |
pascal@11212 | 17 # Rules to configure and make the package. |
pascal@11212 | 18 compile_rules() |
pascal@11212 | 19 { |
pascal@22346 | 20 export CC=gcc-83 CXX=g++-83 |
pascal@13731 | 21 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@11212 | 22 --mandir=/usr/share/man \ |
pascal@11212 | 23 $CONFIGURE_ARGS && |
pascal@11212 | 24 make && |
pascal@13037 | 25 make DESTDIR=$DESTDIR install |
pascal@11212 | 26 } |
pascal@11212 | 27 |
pascal@11212 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11212 | 29 genpkg_rules() |
pascal@11212 | 30 { |
pascal@13730 | 31 cp -a $install/usr $fs |
pascal@11212 | 32 } |