wok-undigest view sdcc/receipt @ rev 220
ovzkernel-bridge: add PROVIDE
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Jan 26 00:16:41 2011 +0100 (2011-01-26) |
parents | |
children | 8964f52235e3 |
line source
1 # SliTaz package receipt.
3 PACKAGE="sdcc"
4 VERSION="2.9.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"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 mv $PACKAGE $src 2> /dev/null
17 cd $src
18 find -name getline.h | xargs sed -i \
19 's/char.*getline/#define getline sdcc_getline\nchar *sdcc_getline/'
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $_pkg/usr $fs
31 }