wok rev 2176
Add h8300-binutils, h8300-gcc3 and h8300-gdb (thanks Matthew)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 08 16:52:33 2009 +0000 (2009-02-08) |
parents | 91687d82cc8a |
children | 881275449442 |
files | h8300-binutils/receipt h8300-gcc3/receipt h8300-gdb/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/h8300-binutils/receipt Sun Feb 08 16:52:33 2009 +0000 1.3 @@ -0,0 +1,37 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="h8300-binutils" 1.7 +SOURCE="binutils" 1.8 +VERSION="2.16.1" 1.9 +CATEGORY="development" 1.10 +SHORT_DESC="binutils targeting the H8/300" 1.11 +MAINTAINER="rcx@zoominternet.net" 1.12 +DEPENDS="" 1.13 +BUILD_DEPENDS="make gcc bison flex" 1.14 +TARBALL="$SOURCE-$VERSION.tar.bz2" 1.15 +WEB_SITE="http://www.gnu.org/software/binutils/" 1.16 +WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + cd $src 1.22 + ./configure \ 1.23 + --target=h8300-hitachi-hms \ 1.24 + --prefix=/usr \ 1.25 + --disable-nls \ 1.26 + --infodir=/usr/share/info \ 1.27 + --mandir=/usr/share/man \ 1.28 + $CONFIGURE_ARGS && 1.29 + make && 1.30 + make DESTDIR=$PWD/_pkg install 1.31 +} 1.32 + 1.33 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.34 +genpkg_rules() 1.35 +{ 1.36 + mkdir -p $fs/usr 1.37 + cp -a $_pkg/usr/bin $fs/usr 1.38 + cp -a $_pkg/usr/h8300-hitachi-hms $fs/usr 1.39 + # do not need to copy lib/libiberty.a 1.40 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/h8300-gcc3/receipt Sun Feb 08 16:52:33 2009 +0000 2.3 @@ -0,0 +1,46 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="h8300-gcc3" 2.7 +SOURCE="gcc" 2.8 +VERSION="3.4.6" 2.9 +CATEGORY="development" 2.10 +SHORT_DESC="gcc targeting the H8/300" 2.11 +MAINTAINER="rcx@zoominternet.net" 2.12 +DEPENDS="h8300-binutils" 2.13 +BUILD_DEPENDS="make gcc bison flex h8300-binutils" 2.14 +TARBALL="$SOURCE-$VERSION.tar.bz2" 2.15 +WEB_SITE="http://www.gnu.org/software/gcc/" 2.16 +WGET_URL="$GNU_MIRROR/$SOURCE/$SOURCE-$VERSION/$TARBALL" 2.17 + 2.18 +# Rules to configure and make the package. 2.19 +compile_rules() 2.20 +{ 2.21 + cd $src 2.22 + rm -f -r libssp libstdc++-v3 binutils 2.23 + mkdir -p $src-build 2.24 + cd $src-build 2.25 + $src/configure \ 2.26 + --target=h8300-hitachi-hms \ 2.27 + --enable-languages=c,c++,ada,java \ 2.28 + --disable-nls \ 2.29 + --enable-target-optspace \ 2.30 + --prefix=/usr \ 2.31 + --infodir=/usr/share/info \ 2.32 + --mandir=/usr/share/man \ 2.33 + $CONFIGURE_ARGS && 2.34 + make && 2.35 + make DESTDIR=$src/_pkg install 2.36 +} 2.37 + 2.38 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.39 +genpkg_rules() 2.40 +{ 2.41 + mkdir -p $fs/usr 2.42 + cp -a $_pkg/usr/bin $fs/usr 2.43 + cp -a $_pkg/usr/h8300-hitachi-hms $fs/usr 2.44 + cp -a $_pkg/usr/include $fs/usr 2.45 + # do not need to copy lib/libiberty.a 2.46 + mkdir -p $fs/usr/lib 2.47 + cp -a $_pkg/usr/lib/gcc $fs/usr/lib 2.48 + cp -a $_pkg/usr/libexec $fs/usr 2.49 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/h8300-gdb/receipt Sun Feb 08 16:52:33 2009 +0000 3.3 @@ -0,0 +1,36 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="h8300-gdb" 3.7 +SOURCE="gdb" 3.8 +VERSION="6.8" 3.9 +CATEGORY="development" 3.10 +SHORT_DESC="The GNU Project Debugger targeting the H8/300." 3.11 +MAINTAINER="rcx@zoominternet.net" 3.12 +DEPENDS="ncurses" 3.13 +BUILD_DEPENDS="ncurses-dev" 3.14 +TARBALL="$SOURCE-$VERSION.tar.gz" 3.15 +WEB_SITE="http://www.gnu.org/software/gdb/" 3.16 +WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL" 3.17 + 3.18 +# Rules to configure and make the package. 3.19 +compile_rules() 3.20 +{ 3.21 + mkdir -p $src-build 3.22 + cd $src-build 3.23 + $src/configure \ 3.24 + --target=h8300-hitachi-hms \ 3.25 + --prefix=/usr \ 3.26 + --infodir=/usr/share/info \ 3.27 + --mandir=/usr/share/man \ 3.28 + $CONFIGURE_ARGS && 3.29 + make && 3.30 + make DESTDIR=$src/_pkg install 3.31 +} 3.32 + 3.33 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.34 +genpkg_rules() 3.35 +{ 3.36 + mkdir -p $fs/usr 3.37 + cp -a $_pkg/usr/bin $fs/usr 3.38 +} 3.39 +