aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-libs/libcuda/ChangeLog8
-rw-r--r--dev-libs/libcuda/libcuda-9999.ebuild25
-rw-r--r--dev-libs/libcuda/metadata.xml8
3 files changed, 18 insertions, 23 deletions
diff --git a/dev-libs/libcuda/ChangeLog b/dev-libs/libcuda/ChangeLog
index 031ee7c4c..74035e500 100644
--- a/dev-libs/libcuda/ChangeLog
+++ b/dev-libs/libcuda/ChangeLog
@@ -1,7 +1,11 @@
-# ChangeLog for dev-util/libgdev
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# ChangeLog for dev-libs/libcuda
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 06 Jan 2014; Justin Lecher <jlec@gentoo.org> libcuda-9999.ebuild,
+ metadata.xml:
+ Punt base.eclass; add missing die; drop nneeded patches
+
*libgdev-9999 (15 Nov 2012)
15 Nov 2012; Alexey Shvetsov <alexxy@gentoo.org>
diff --git a/dev-libs/libcuda/libcuda-9999.ebuild b/dev-libs/libcuda/libcuda-9999.ebuild
index cab476209..8138ba274 100644
--- a/dev-libs/libcuda/libcuda-9999.ebuild
+++ b/dev-libs/libcuda/libcuda-9999.ebuild
@@ -1,12 +1,10 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
-EGIT_PROJECT="gdev"
-
-inherit base git-2
+inherit git-r3
DESCRIPTION="Gdev is open-source GPGPU runtime"
HOMEPAGE="https://github.com/shinpei0208/gdev"
@@ -28,26 +26,19 @@ DEPEND="
virtual/pkgconfig
${RDEPEND}"
-PATCHES=( "${FILESDIR}/0001-Fix-detection-of-nouveau-in-case-its-builtin.patch"
- "${FILESDIR}/0002-Fix-install-target-for-gdev-lib-userspace.patch"
- "${FILESDIR}/0003-Fix-install-target-for-gdev-lib-userspace-part2.patch"
- "${FILESDIR}/0004-Respect-extra-CFLAGS-and-LDFLAGS.patch"
- "${FILESDIR}/0005-Fix-install-target-for-cuda-lib.patch"
- )
-
src_configure() {
- cd cuda
- mkdir build
- cd build
- ../configure
+ cd cuda || die
+ mkdir build || die
+ cd build || die
+ ../configure || die
}
src_compile() {
- cd cuda/build
+ cd cuda/build || die
emake GDEVDIR="${EPREFIX}/usr"
}
src_install() {
- cd cuda/build
+ cd cuda/build || die
emake GDEVDIR="${EPREFIX}/usr" DESTDIR="${D}" install
}
diff --git a/dev-libs/libcuda/metadata.xml b/dev-libs/libcuda/metadata.xml
index 247f45889..f233055c0 100644
--- a/dev-libs/libcuda/metadata.xml
+++ b/dev-libs/libcuda/metadata.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer>
- <email>alexxy@gentoo.org</email>
- <name>Alexey Shvetsov</name>
- </maintainer>
+ <maintainer>
+ <email>alexxy@gentoo.org</email>
+ <name>Alexey Shvetsov</name>
+ </maintainer>
</pkgmetadata>