# HG changeset patch # User Pascal Bellard # Date 1234111953 0 # Node ID 51c6f8c526bbe7ae2cb22aa731069461326183cc # Parent 91687d82cc8a3da5321a7977f778d040ec9f82f6 Add h8300-binutils, h8300-gcc3 and h8300-gdb (thanks Matthew) diff -r 91687d82cc8a -r 51c6f8c526bb h8300-binutils/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/h8300-binutils/receipt Sun Feb 08 16:52:33 2009 +0000 @@ -0,0 +1,37 @@ +# SliTaz package receipt. + +PACKAGE="h8300-binutils" +SOURCE="binutils" +VERSION="2.16.1" +CATEGORY="development" +SHORT_DESC="binutils targeting the H8/300" +MAINTAINER="rcx@zoominternet.net" +DEPENDS="" +BUILD_DEPENDS="make gcc bison flex" +TARBALL="$SOURCE-$VERSION.tar.bz2" +WEB_SITE="http://www.gnu.org/software/binutils/" +WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --target=h8300-hitachi-hms \ + --prefix=/usr \ + --disable-nls \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/h8300-hitachi-hms $fs/usr + # do not need to copy lib/libiberty.a +} diff -r 91687d82cc8a -r 51c6f8c526bb h8300-gcc3/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/h8300-gcc3/receipt Sun Feb 08 16:52:33 2009 +0000 @@ -0,0 +1,46 @@ +# SliTaz package receipt. + +PACKAGE="h8300-gcc3" +SOURCE="gcc" +VERSION="3.4.6" +CATEGORY="development" +SHORT_DESC="gcc targeting the H8/300" +MAINTAINER="rcx@zoominternet.net" +DEPENDS="h8300-binutils" +BUILD_DEPENDS="make gcc bison flex h8300-binutils" +TARBALL="$SOURCE-$VERSION.tar.bz2" +WEB_SITE="http://www.gnu.org/software/gcc/" +WGET_URL="$GNU_MIRROR/$SOURCE/$SOURCE-$VERSION/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + rm -f -r libssp libstdc++-v3 binutils + mkdir -p $src-build + cd $src-build + $src/configure \ + --target=h8300-hitachi-hms \ + --enable-languages=c,c++,ada,java \ + --disable-nls \ + --enable-target-optspace \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$src/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/h8300-hitachi-hms $fs/usr + cp -a $_pkg/usr/include $fs/usr + # do not need to copy lib/libiberty.a + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/gcc $fs/usr/lib + cp -a $_pkg/usr/libexec $fs/usr +} diff -r 91687d82cc8a -r 51c6f8c526bb h8300-gdb/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/h8300-gdb/receipt Sun Feb 08 16:52:33 2009 +0000 @@ -0,0 +1,36 @@ +# SliTaz package receipt. + +PACKAGE="h8300-gdb" +SOURCE="gdb" +VERSION="6.8" +CATEGORY="development" +SHORT_DESC="The GNU Project Debugger targeting the H8/300." +MAINTAINER="rcx@zoominternet.net" +DEPENDS="ncurses" +BUILD_DEPENDS="ncurses-dev" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://www.gnu.org/software/gdb/" +WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + mkdir -p $src-build + cd $src-build + $src/configure \ + --target=h8300-hitachi-hms \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$src/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/bin $fs/usr +} +