wok-stable view h8300-gcc3/receipt @ rev 3584
pcmanfm: add tazpkg handler.
pcmanfm/stuff/archiver-tazpkg-support.patch HG: changed
pcmanfm/stuff/icons/Tango/32x32/mimetypes/gnome-mime-application-x-tazpkg.png
pcmanfm/stuff/icons/Tango/32x32/mimetypes/package-x-tazpkg.png HG:
changed pcmanfm/stuff/mime/packages/tazpkg.xml
pcmanfm/stuff/archiver-tazpkg-support.patch HG: changed
pcmanfm/stuff/icons/Tango/32x32/mimetypes/gnome-mime-application-x-tazpkg.png
pcmanfm/stuff/icons/Tango/32x32/mimetypes/package-x-tazpkg.png HG:
changed pcmanfm/stuff/mime/packages/tazpkg.xml
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Jun 27 00:24:13 2009 +0200 (2009-06-27) |
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 }