View | Details | Raw Unified
Collapse All | Expand All

(-) /home/marienz/mozincoming/ltp-20041104.ebuild (-2 / +4 lines)
 Lines 1-6    Link Here 
# 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
 Lines 24-29    Link Here 
	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"
 Lines 33-41    Link Here 
	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
}
}