# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="ACOVEA implements a genetic algorithm to find the \"best\" options for compiling programs with the GNU Compiler Collection (GCC)." HOMEPAGE="http://www.coyotegulch.com/acovea/" SRC_URI="http://www.coyotegulch.com/acovea/${P}.tar.bz2" LICENSE="" SLOT="0" KEYWORDS="~x86" # only works with gcc 3.4 RDEPEND=">=sys-devel/gcc-3.4" S=${WORKDIR}/${P} # where to put the benchmark code MY_EXAMPLES="/usr/share/acovea" src_compile() { ./build.sh || die } src_install() { insinto ${MY_EXAMPLES} dodir ${INSDESTTREE} doins *bench.c *bench.cpp exeinto /usr/bin doexe gavg gccacovea dodoc README LICENSE.SVFL } pkg_postinst() { echo einfo "example benchmark code has been installed to ${MY_EXAMPLES}" einfo "" echo ewarn "" ewarn "${P} comes with a special license, called the SVFL." ewarn "It has been copied to /usr/share/doc/${PF}/LICENSE.SVFL" ewarn "Please read it before using this." echo }