wok-6.x view sdcc/receipt @ rev 11785
Down gnumeric (0.8.16) 0.8.17 references gtk+-3. Removed unrecognized option from goffice
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Fri Feb 24 10:18:11 2012 -0800 (2012-02-24) |
parents | 7ad949dccd95 |
children | 84ac67254317 |
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"
12 BUILD_DEPENDS="flex"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 mv $PACKAGE $src 2> /dev/null
18 cd $src
19 sed -i 's/all %/%/' device/lib/pic/Makefile.in
20 find -name getline.h | xargs sed -i \
21 's/char.*getline/#define getline sdcc_getline\nchar *sdcc_getline/'
22 ./configure --prefix=/usr --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $_pkg/usr $fs
33 }