rendered paste body# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils
DESCRIPTION="The Software Testing Automation Framework (STAF)"
HOMEPAGE="http://staf.sourceforge.net"
SRC_URI="http://umn.dl.sourceforge.net/sourceforge/staf/STAF2611-src.tar.gz"
LICENSE="CPL-1.0"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND="sys-devel/gcc"
RDEPEND=""
function src_compile {
echo ">>>>Compiling source-"
export PROJECTS="staf"
export OS_NAME="linux"
export CFLAGS="-O2 -march=i386"
src_dir="/src/staf"
cd ${WORKDIR}${src_dir}
make
}
function src_install {
echo ">>>>Installing source-"
install_dir="/rel/linux/staf/retail"
#echo "Changing directory to ${WORKDIR}${src_dir}${install_dir}"
cd ${WORKDIR}${install_dir}
./STAFInst -acceptlicense
}