wok-current view sdcc/receipt @ rev 18066

ppp.cgi: use 'vpn' and 'modem' icons. (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 18 17:08:18 2015 +0200 (2015-05-18)
parents 18f9cd000cd5
children 02c70d036ea0
line source
1 # SliTaz package receipt.
3 PACKAGE="sdcc"
4 VERSION="3.2.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 BUILD_DEPENDS="flex libboost-graph-dev gputils"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
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 }