wok-6.x annotate h8300-gcc3/receipt @ rev 20684

Update some WEB_SITE
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 27 21:28:24 2019 +0100 (2019-01-27)
parents 7196945bca36
children 52649f27a0da
rev   line source
pascal@2176 1 # SliTaz package receipt.
pascal@2176 2
pascal@2176 3 PACKAGE="h8300-gcc3"
pascal@2176 4 SOURCE="gcc"
pascal@2176 5 VERSION="3.4.6"
pascal@2176 6 CATEGORY="development"
pascal@2176 7 SHORT_DESC="gcc targeting the H8/300"
pascal@2176 8 MAINTAINER="rcx@zoominternet.net"
pascal@15000 9 LICENSE="GPL2"
pascal@2176 10 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@2176 11 WEB_SITE="http://www.gnu.org/software/gcc/"
pascal@2176 12 WGET_URL="$GNU_MIRROR/$SOURCE/$SOURCE-$VERSION/$TARBALL"
rcx@4029 13 PROVIDE="h8300-gcc"
pascal@13033 14 TAGS="compiler C C++ ada"
pascal@2176 15
pascal@15000 16 DEPENDS="h8300-binutils"
pascal@15000 17 BUILD_DEPENDS="bison flex h8300-binutils"
pascal@15000 18
rcx@4034 19 # Configuration only needs included if we're in the build/wok environment
rcx@4034 20 if [ -e $WOK/h8300-toolchain/stuff/h8300.conf ] ; then
rcx@4034 21 . $WOK/h8300-toolchain/stuff/h8300.conf
rcx@4034 22 fi
rcx@4034 23
pascal@2176 24 # Rules to configure and make the package.
pascal@2176 25 compile_rules()
pascal@2176 26 {
rcx@3292 27 rm -f -r $src/libssp $src/libstdc++-v3 $src/binutils
pascal@15338 28 mkdir -p $SOURCE-$VERSION-build \
pascal@15338 29 $DESTDIR/usr/share/man/man1 $DESTDIR/usr/share/man/man7
rcx@3292 30 cd $SOURCE-$VERSION-build
pascal@2176 31 $src/configure \
rcx@4034 32 --target=$H8300_TARGET \
rcx@3294 33 --enable-languages=c,c++,ada \
pascal@2176 34 --disable-nls \
pascal@2176 35 --enable-target-optspace \
pascal@2176 36 --prefix=/usr \
pascal@4014 37 --libexecdir=/usr/lib \
pascal@2176 38 --infodir=/usr/share/info \
pascal@2176 39 --mandir=/usr/share/man \
pascal@2176 40 $CONFIGURE_ARGS &&
gokhlayeh@11574 41 make $MAKEFLAGS &&
pascal@15338 42 make DESTDIR=$DESTDIR install
pascal@2176 43 }
pascal@2176 44
pascal@2176 45 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2176 46 genpkg_rules()
pascal@2176 47 {
pascal@2176 48 mkdir -p $fs/usr
pascal@15000 49 cp -a $install/usr/bin $fs/usr
pascal@15000 50 cp -a $install/usr/include $fs/usr
rcx@4034 51 # Do not need to copy lib/libiberty.a
pascal@2176 52 mkdir -p $fs/usr/lib
pascal@15000 53 cp -a $install/usr/lib/gcc $fs/usr/lib
rcx@4034 54 # Do not include the h8300* variant folders; create separate packages if they are needed
rcx@4034 55 rm -r -f $fs/usr/lib/gcc/$H8300_TARGET/$VERSION/h8300h
rcx@4034 56 rm -r -f $fs/usr/lib/gcc/$H8300_TARGET/$VERSION/h8300s
pascal@2176 57 }
rcx@3292 58
rcx@3292 59 # Rules to clean the package
rcx@3292 60 clean_wok()
rcx@3292 61 {
rcx@3292 62 rm -r $SOURCE-$VERSION-build
rcx@3292 63 }