wok-6.x view sdcc/receipt @ rev 13797
Create grub entry based on current root partition. Fix bug78
author | border |
---|---|
date | Sat Jan 05 12:34:10 2013 -0500 (2013-01-05) |
parents | c4289b5fcf5d |
children | 7896f0694ef6 |
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 TARBALL="$PACKAGE-src-$VERSION.tar.bz2"
9 WEB_SITE="http://sdcc.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE/$VERSION/$TARBALL"
11 TAGS="cross compiler C 8051 Z80 68HC08 assembler"
12 BUILD_DEPENDS="flex libboost-graph-dev gputils"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i 's/exec/[ "$1" == ":" ] || &/' device/lib/pic16/depcomp
19 sed -i 's/ -u$//' device/lib/Makefile*
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 }