wok-next view sdcc/receipt @ rev 20674
Up putty (0.70)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 12 05:17:48 2018 +0300 (2018-05-12) |
parents | 2f3aba6cc31e |
children | a244e109372e |
line source
1 # SliTaz package receipt.
3 PACKAGE="sdcc"
4 VERSION="3.6.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"
13 COOKOPTS="!strip"
15 BUILD_DEPENDS="flex libboost-dev libboost-graph gputils texinfo"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
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 }