wok-next diff h8300-gcc/receipt @ rev 21648

updated fetchmail (6.3.26 -> 6.4.8)
author Hans-G?nter Theisgen
date Fri Jun 26 17:32:09 2020 +0100 (2020-06-26)
parents b111af75e9ad
children
line diff
     1.1 --- a/h8300-gcc/receipt	Sun Nov 26 11:54:13 2017 +0100
     1.2 +++ b/h8300-gcc/receipt	Fri Jun 26 17:32:09 2020 +0100
     1.3 @@ -5,7 +5,7 @@
     1.4  VERSION="4.4.4"
     1.5  CATEGORY="development"
     1.6  SHORT_DESC="gcc targeting the H8/300"
     1.7 -MAINTAINER="rcx@zoominternet.net"
     1.8 +MAINTAINER="devel@slitaz.org"
     1.9  LICENSE="GPL2"
    1.10  TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.11  WEB_SITE="http://www.gnu.org/software/gcc/"
    1.12 @@ -17,16 +17,15 @@
    1.13  h8300-binutils gcc49"
    1.14  
    1.15  # Configuration only needs included if we're in the build/wok environment
    1.16 -if [ -e $WOK/h8300-toolchain/stuff/h8300.conf ] ; then
    1.17 +if [ -e $WOK/h8300-toolchain/stuff/h8300.conf ]; then
    1.18  	. $WOK/h8300-toolchain/stuff/h8300.conf
    1.19  fi
    1.20  
    1.21 -# Rules to configure and make the package.
    1.22 -compile_rules()
    1.23 -{
    1.24 +compile_rules() {
    1.25  	rm -f -r $src/libssp $src/libstdc++-v3 $src/binutils
    1.26  	mkdir -p $SOURCE-$VERSION-build
    1.27  	cd $SOURCE-$VERSION-build
    1.28 +
    1.29  	$src/configure \
    1.30  		CC=gcc-49 CXX=g++-49 \
    1.31  		--target=$H8300_TARGET \
    1.32 @@ -40,12 +39,10 @@
    1.33  		--mandir=/usr/share/man \
    1.34  		$CONFIGURE_ARGS &&
    1.35  	make $MAKEFLAGS &&
    1.36 -	make DESTDIR=$DESTDIR install
    1.37 +	make DESTDIR=$install install
    1.38  }
    1.39  
    1.40 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.41 -genpkg_rules()
    1.42 -{
    1.43 +genpkg_rules() {
    1.44  	mkdir -p $fs/usr
    1.45  	cp -a $install/usr/bin $fs/usr
    1.46  	cp -a $install/usr/include $fs/usr
    1.47 @@ -57,9 +54,3 @@
    1.48  	rm -r -f $fs/usr/lib/gcc/$H8300_TARGET/$VERSION/h8300s
    1.49  	rm -r -f $fs/usr/lib/gcc/$H8300_TARGET/$VERSION/h8sx
    1.50  }
    1.51 -
    1.52 -# Rules to clean the package
    1.53 -clean_wok()
    1.54 -{
    1.55 -	rm -r $SOURCE-$VERSION-build
    1.56 -}