wok-next view sdcc/receipt @ rev 19549
Up cacerts (20161124), perl no more need in post_install
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 09 03:40:48 2016 +0200 (2016-12-09) |
parents | 18f9cd000cd5 |
children | 2f3aba6cc31e |
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 }