wok-next diff h8300-gcc3/receipt @ rev 3112
lxpanel: Use custom background
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 18 02:37:18 2009 +0200 (2009-05-18) |
parents | |
children | c9ccc46854e4 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/h8300-gcc3/receipt Mon May 18 02:37:18 2009 +0200 1.3 @@ -0,0 +1,46 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="h8300-gcc3" 1.7 +SOURCE="gcc" 1.8 +VERSION="3.4.6" 1.9 +CATEGORY="development" 1.10 +SHORT_DESC="gcc targeting the H8/300" 1.11 +MAINTAINER="rcx@zoominternet.net" 1.12 +DEPENDS="h8300-binutils" 1.13 +BUILD_DEPENDS="make gcc bison flex h8300-binutils" 1.14 +TARBALL="$SOURCE-$VERSION.tar.bz2" 1.15 +WEB_SITE="http://www.gnu.org/software/gcc/" 1.16 +WGET_URL="$GNU_MIRROR/$SOURCE/$SOURCE-$VERSION/$TARBALL" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + cd $src 1.22 + rm -f -r libssp libstdc++-v3 binutils 1.23 + mkdir -p $src-build 1.24 + cd $src-build 1.25 + $src/configure \ 1.26 + --target=h8300-hitachi-hms \ 1.27 + --enable-languages=c,c++,ada,java \ 1.28 + --disable-nls \ 1.29 + --enable-target-optspace \ 1.30 + --prefix=/usr \ 1.31 + --infodir=/usr/share/info \ 1.32 + --mandir=/usr/share/man \ 1.33 + $CONFIGURE_ARGS && 1.34 + make && 1.35 + make DESTDIR=$src/_pkg install 1.36 +} 1.37 + 1.38 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.39 +genpkg_rules() 1.40 +{ 1.41 + mkdir -p $fs/usr 1.42 + cp -a $_pkg/usr/bin $fs/usr 1.43 + cp -a $_pkg/usr/h8300-hitachi-hms $fs/usr 1.44 + cp -a $_pkg/usr/include $fs/usr 1.45 + # do not need to copy lib/libiberty.a 1.46 + mkdir -p $fs/usr/lib 1.47 + cp -a $_pkg/usr/lib/gcc $fs/usr/lib 1.48 + cp -a $_pkg/usr/libexec $fs/usr 1.49 +}