wok-next rev 9964

gcc+gcj: should fix build (not tested too slow on my laptop)
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 18 16:06:04 2011 +0200 (2011-05-18)
parents 24263dfa9f84
children 4e1ba79cde38
files gcc+gcj/receipt
line diff
     1.1 --- a/gcc+gcj/receipt	Wed May 18 15:55:36 2011 +0200
     1.2 +++ b/gcc+gcj/receipt	Wed May 18 16:06:04 2011 +0200
     1.3 @@ -6,6 +6,11 @@
     1.4  CATEGORY="development"
     1.5  SHORT_DESC="The GNU Compiler Collection, including the gcj Compiler for Java."
     1.6  MAINTAINER="rcx@zoominternet.net"
     1.7 +TARBALL="$SOURCE-$VERSION.tar.bz2"
     1.8 +WEB_SITE="http://gcc.gnu.org/java/"
     1.9 +WGET_URL="$GNU_MIRROR/$SOURCE/$SOURCE-$VERSION/$TARBALL"
    1.10 +PROVIDE="$SOURCE jre jdk"
    1.11 +
    1.12  DEPENDS="glibc-base glib gcc-lib-base libgio util-linux-ng-uuid zlib libgomp gmp mpfr python \
    1.13  gtk+ atk cairo expat fontconfig freetype pango pixman libpng libxcb xcb-util \
    1.14  xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXcomposite \
    1.15 @@ -15,10 +20,6 @@
    1.16  expat-dev zlib-dev fastjar gtk+-dev libart_lgpl-dev xorg-dev xorg-inputproto \
    1.17  xorg-kbproto xorg-libXtst xorg-randrproto xorg-renderproto xorg-xextproto xorg-xproto \
    1.18  elfutils elfutils-dev"
    1.19 -TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.20 -WEB_SITE="http://gcc.gnu.org/java/"
    1.21 -WGET_URL="$GNU_MIRROR/$SOURCE/$SOURCE-$VERSION/$TARBALL"
    1.22 -PROVIDE="$SOURCE jre jdk"
    1.23  
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26 @@ -36,7 +37,7 @@
    1.27  	ECJ_URL="ftp://sourceware.org/pub/java/$ECJ_JAR"
    1.28  	if [ ! -f "$SOURCES_REPOSITORY/$ECJ_JAR" ] ; then
    1.29  		cd $SOURCES_REPOSITORY
    1.30 -		download $ECJ_URL
    1.31 +		wget $ECJ_URL
    1.32  		# Exit if download failed to avoid errors.
    1.33  		if [ ! -f "$SOURCES_REPOSITORY/$ECJ_JAR" ] ; then
    1.34  			echo -e "\nECJ jar download failed, exiting. Please check ECJ_URL variable.\n"
    1.35 @@ -114,5 +115,3 @@
    1.36  		ln -s gcc $root/usr/bin/cc
    1.37  	fi
    1.38  }
    1.39 -
    1.40 -TAZBB_NO_INSTALL="because it does not support objc and gfortran (yet)"