summaryrefslogtreecommitdiffstats
path: root/dev-util/decuda/decuda-0.4.2.ebuild
blob: 91bc3bb86aa77006149902455a17cdfc41fe5889 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpscorrelate/gpscorrelate-1.5.6.ebuild,v 1.3 2008/08/23 18:13:05 maekke Exp $

inherit eutils

MY_PV=${PV/_/-}

DESCRIPTION="Assembler/Disassembler for NVIDIA CUDA binary (.cubin) format"
HOMEPAGE="http://www.cs.rug.nl/~wladimir/decuda/"
SRC_URI="http://www.cs.rug.nl/~wladimir/decuda/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
DEPEND="dev-lang/python"
	

src_unpack() {
	unpack ${A}
	cd "${S}"
	epatch "${FILESDIR}"/${PN}-ds-setup.patch || die
}

src_install() {
    python setup.py install --root="${D}" --no-compile
    dobin cudasm decuda decudaraw
}