diff options
author | Sven Wegener <swegener@gentoo.org> | 2005-06-04 20:17:14 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2005-06-04 20:17:14 +0000 |
commit | af10e924299dfeb2abbdd00346478b95813be8ae (patch) | |
tree | 6da6689ae0ab7434540c02ac9a83689a3a443dc1 /net-analyzer/thrulay/thrulay-0.6.ebuild | |
parent | cosmectic changes (diff) | |
download | gentoo-2-af10e924299dfeb2abbdd00346478b95813be8ae.tar.gz gentoo-2-af10e924299dfeb2abbdd00346478b95813be8ae.tar.bz2 gentoo-2-af10e924299dfeb2abbdd00346478b95813be8ae.zip |
Added cross-compile support and error checking.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'net-analyzer/thrulay/thrulay-0.6.ebuild')
-rw-r--r-- | net-analyzer/thrulay/thrulay-0.6.ebuild | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/net-analyzer/thrulay/thrulay-0.6.ebuild b/net-analyzer/thrulay/thrulay-0.6.ebuild index 71e8541cf995..8b20eb0c5b03 100644 --- a/net-analyzer/thrulay/thrulay-0.6.ebuild +++ b/net-analyzer/thrulay/thrulay-0.6.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/thrulay/thrulay-0.6.ebuild,v 1.1 2005/06/04 19:28:50 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/thrulay/thrulay-0.6.ebuild,v 1.2 2005/06/04 20:17:14 swegener Exp $ + +inherit toolchain-funcs DESCRIPTION="Measure the capacity of a network by sending a bulk TCP stream over it." HOMEPAGE="http://www.internet2.edu/~shalunov/thrulay/" @@ -10,16 +12,15 @@ SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="" -#RDEPEND="" src_compile() { - emake OPT="${CFLAGS}" + emake CC="$(tc-getCC)" OPT="${CFLAGS}" || die "emake failed" } src_install() { - dobin thrulay - dosbin thrulayd - dodoc LICENSE README TODO thrulay-protocol.txt - newinitd ${FILESDIR}/thrulayd-init.d thrulayd - newconfd ${FILESDIR}/thrulayd-conf.d thrulayd + dobin thrulay || die "dobin failed" + dosbin thrulayd || die "dosbin failed" + dodoc LICENSE README TODO thrulay-protocol.txt || die "dodoc failed" + newinitd "${FILESDIR}"/thrulayd-init.d thrulayd || die "newinitd failed" + newconfd "${FILESDIR}"/thrulayd-conf.d thrulayd || die "newconfd failed" } |