|
|
# Copyright 1999-2004 Gentoo Foundation | # Copyright 1999-2004 Gentoo Foundation |
# Distributed under the terms of the GNU General Public License v2 | # Distributed under the terms of the GNU General Public License v2 |
# $Header: /var/www/www.gentoo.org/raw_cvs/gentoo-x86/app-benchmarks/ltp/ltp-20041104.ebuild,v 1.1 2004/11/06 23:34:10 dragonheart Exp $ |
# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/ltp/ltp-20041104.ebuild,v 1.1 2004/11/06 23:34:10 dragonheart Exp $ |
| |
inherit eutils | inherit eutils |
| |
|
|
cd ${S} | cd ${S} |
epatch ${FILESDIR}/IDcheck-noninteractive.patch | epatch ${FILESDIR}/IDcheck-noninteractive.patch |
epatch ${FILESDIR}/runltp-path.patch | epatch ${FILESDIR}/runltp-path.patch |
|
epatch ${FILESDIR}/ltp-ballista-paths.patch |
} | } |
src_compile() { | src_compile() { |
emake || die "emake failed" | emake || die "emake failed" |
|
|
make install || die "install failed" | make install || die "install failed" |
| |
mkdir -p ${D}/usr/libexec/ltp/testcases ${D}/usr/bin/ || die "mkdir failed" | mkdir -p ${D}/usr/libexec/ltp/testcases ${D}/usr/bin/ || die "mkdir failed" |
cp --parents -r testcases/bin pan/pan runtest ver_linux IDcheck.sh ${D}/usr/libexec/ltp || die "cp failed" |
cp --parents -r testcases pan/pan runtest ver_linux IDcheck.sh ${D}/usr/libexec/ltp || die "cp failed" |
cp runltp runalltests.sh ${D}/usr/bin || die "cp failed" | cp runltp runalltests.sh ${D}/usr/bin || die "cp failed" |
| |
# TODO: fix this so it works from "outside" the source tree | # TODO: fix this so it works from "outside" the source tree |
# cp ltpmenu ${D}/usr/bin | # cp ltpmenu ${D}/usr/bin |
} | } |
|
|