Receipt for package "h8300-gcc3"
# 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" LICENSE="GPL2" TARBALL="$SOURCE-$VERSION.tar.bz2" WEB_SITE="http://www.gnu.org/software/gcc/" WGET_URL="$GNU_MIRROR/$SOURCE/$SOURCE-$VERSION/$TARBALL" PROVIDE="h8300-gcc" TAGS="compiler C C++ ada" DEPENDS="h8300-binutils" BUILD_DEPENDS="bison flex h8300-binutils" # What is the latest version available today? current_version() { wget -O - $GNU_MIRROR/$SOURCE 2>/dev/null | \ sed '/gcc-3/!d;s|.*gcc-||;s|.t.*||;s|/.*||' | sort -Vr | sed q } # Configuration only needs included if we're in the build/wok environment if [ -e $WOK/h8300-toolchain/stuff/h8300.conf ] ; then . $WOK/h8300-toolchain/stuff/h8300.conf fi # Rules to configure and make the package. compile_rules() { rm -f -r $src/libssp $src/libstdc++-v3 $src/binutils mkdir -p $SOURCE-$VERSION-build \ $DESTDIR/usr/share/man/man1 $DESTDIR/usr/share/man/man7 cd $SOURCE-$VERSION-build $src/configure \ --target=$H8300_TARGET \ --enable-languages=c,c++,ada \ --disable-nls \ --enable-target-optspace \ --prefix=/usr \ --libexecdir=/usr/lib \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ $CONFIGURE_ARGS && make $MAKEFLAGS && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $install/usr/bin $fs/usr cp -a $install/usr/include $fs/usr # Do not need to copy lib/libiberty.a mkdir -p $fs/usr/lib cp -a $install/usr/lib/gcc $fs/usr/lib # Do not include the h8300* variant folders; create separate packages if they are needed rm -r -f $fs/usr/lib/gcc/$H8300_TARGET/$VERSION/h8300h rm -r -f $fs/usr/lib/gcc/$H8300_TARGET/$VERSION/h8300s } # Rules to clean the package clean_wok() { rm -r $SOURCE-$VERSION-build }
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)