Gentoo Archives: gentoo-devhelp

From: Nikos Chantziaras <realnc@×××××.de>
To: gentoo-devhelp@l.g.o
Subject: [gentoo-devhelp] Re: How do I make scons use correct CFLAGS/CXXFLAGS/LDFLAGS?
Date: Tue, 17 May 2011 07:19:10
Message-Id: iqt7ga$gpk$1@dough.gmane.org
In Reply to: Re: [gentoo-devhelp] Re: How do I make scons use correct CFLAGS/CXXFLAGS/LDFLAGS? by Peter Volkov
1 On 05/17/2011 09:45 AM, Peter Volkov wrote:
2 > В Втр, 17/05/2011 в 08:23 +0300, Nikos Chantziaras пишет:
3 >> Unfortunately, it didn't help. Tried both "${D}" as well as "${D}"/usr:
4 >>
5 >> scons: *** Path for option install_path does not exist:
6 >> /var/tmp/portage/dev-util/gpuocelot-9999/image
7 >
8 > Please, post full ebuild.
9
10 # Copyright 1999-2010 Gentoo Foundation
11 # Distributed under the terms of the GNU General Public License v2
12 # $Header: $
13
14 EAPI=3
15 inherit subversion flag-o-matic scons-utils toolchain-funcs
16
17 DESCRIPTION="A dynamic compilation framework for PTX"
18 HOMEPAGE="http://code.google.com/p/gpuocelot"
19 SRC_URI=""
20 ESVN_REPO_URI="http://gpuocelot.googlecode.com/svn/trunk/ocelot/"
21 KEYWORDS=""
22
23 LICENSE="BSD"
24 SLOT="0"
25
26 DEPEND=">=dev-libs/boost-1.45.0
27 dev-util/nvidia-cuda-toolkit
28 media-libs/glew"
29 RDEPEND="${DEPEND}"
30
31 src_compile() {
32 tc-export CC CXX
33 escons install_path="${D}"/usr test_level=none || die
34 }
35
36 src_install() {
37 escons install_path="${D}"/usr test_level=none install || die
38 }

Replies