wok view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="sdcc"
4 VERSION="3.9.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 DEPENDS="gcc83-lib-base"
15 BUILD_DEPENDS="flex libboost-graph-dev gputils gcc83"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export CC=gcc-83 CXX=g++-83
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 }