wok-6.x view h8300-gcc3/receipt @ rev 3393

Ren: sphinx -> python-sphinx
author Claudinei Pereira <claudinei@slitaz.org>
date Fri Jun 12 00:11:31 2009 +0000 (2009-06-12)
parents 66ba49cddc3a
children 3ecbb6f5aa64
line source
1 # SliTaz package receipt.
3 PACKAGE="h8300-gcc3"
4 SOURCE="gcc"
5 VERSION="3.4.6"
6 CATEGORY="development"
7 SHORT_DESC="gcc targeting the H8/300"
8 MAINTAINER="rcx@zoominternet.net"
9 DEPENDS="h8300-binutils"
10 BUILD_DEPENDS="slitaz-toolchain bison flex h8300-binutils"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.gnu.org/software/gcc/"
13 WGET_URL="$GNU_MIRROR/$SOURCE/$SOURCE-$VERSION/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 rm -f -r $src/libssp $src/libstdc++-v3 $src/binutils
19 mkdir -p $SOURCE-$VERSION-build
20 cd $SOURCE-$VERSION-build
21 $src/configure \
22 --target=h8300-hitachi-hms \
23 --enable-languages=c,c++,ada \
24 --disable-nls \
25 --enable-target-optspace \
26 --prefix=/usr \
27 --infodir=/usr/share/info \
28 --mandir=/usr/share/man \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$src/_pkg install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $_pkg/usr/bin $fs/usr
39 cp -a $_pkg/usr/h8300-hitachi-hms $fs/usr
40 cp -a $_pkg/usr/include $fs/usr
41 # do not need to copy lib/libiberty.a
42 mkdir -p $fs/usr/lib
43 cp -a $_pkg/usr/lib/gcc $fs/usr/lib
44 cp -a $_pkg/usr/libexec $fs/usr
45 }
47 # Rules to clean the package
48 clean_wok()
49 {
50 rm -r $SOURCE-$VERSION-build
51 }