aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-02-18 13:04:36 +0100
committerJustin Lecher <jlec@gentoo.org>2015-02-18 13:04:36 +0100
commitecc4d8cac5c497ca36c4c5fe872089c2c9345651 (patch)
treef27a58237520e0b3adeef04f917b84c03001f7f6 /dev-util/amdapp/amdapp-2.8.ebuild
parentdev-python/pythonocc: fix SLOT operators; drop obsolete pythons ABIs (diff)
downloadsci-ecc4d8cac5c497ca36c4c5fe872089c2c9345651.tar.gz
sci-ecc4d8cac5c497ca36c4c5fe872089c2c9345651.tar.bz2
sci-ecc4d8cac5c497ca36c4c5fe872089c2c9345651.zip
dev-util/amdapp: fix SLOT operators; restrict fetch; drop old
Package-Manager: portage-2.2.17
Diffstat (limited to 'dev-util/amdapp/amdapp-2.8.ebuild')
-rw-r--r--dev-util/amdapp/amdapp-2.8.ebuild89
1 files changed, 0 insertions, 89 deletions
diff --git a/dev-util/amdapp/amdapp-2.8.ebuild b/dev-util/amdapp/amdapp-2.8.ebuild
deleted file mode 100644
index 1d921bb53..000000000
--- a/dev-util/amdapp/amdapp-2.8.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-
-inherit multilib
-
-X86_AT="AMD-APP-SDK-v${PV}-lnx32.tgz"
-AMD64_AT="AMD-APP-SDK-v${PV}-lnx64.tgz"
-
-MY_P_AMD64="AMD-APP-SDK-v${PV}-RC-lnx64"
-MY_P_AMD32="AMD-APP-SDK-v${PV}-RC-lnx32"
-MY_P="AMD-APP-SDK-v${PV}-RC"
-
-DESCRIPTION="AMD Accelerated Parallel Processing (APP) SDK"
-HOMEPAGE="http://developer.amd.com/tools/heterogeneous-computing/\
-amd-accelerated-parallel-processing-app-sdk"
-CURI="http://developer.amd.com/tools-and-sdks/opencl-zone/\
-amd-accelerated-parallel-processing-app-sdk/download-archive"
-SRC_URI="
- amd64? ( ${AMD64_AT} )
- x86? ( ${X86_AT} )"
-LICENSE="AMD"
-SLOT="0"
-KEYWORDS="~x86 ~amd64"
-IUSE="examples"
-
-RDEPEND="
- app-admin/eselect-opengl
- !<dev-util/amdstream-2.6
- sys-devel/llvm
- sys-devel/gcc
- media-libs/mesa
- media-libs/freeglut
- virtual/opencl
- examples? ( media-libs/glew )
- app-admin/eselect-opencl"
-DEPEND="
- ${RDEPEND}
- dev-lang/perl
- dev-util/patchelf
- sys-apps/fakeroot"
-
-RESTRICT="mirror strip"
-
-S="${WORKDIR}/${MY_P}"
-
-pkg_nofetch() {
- einfo "AMD doesn't provide direct download links. Please download"
- einfo "${ARCHIVE} from ${CURI}"
-}
-
-src_unpack() {
- default
-
- cd "${WORKDIR}" || die
-
- if use amd64 || use amd64-linux ; then
- unpack ./${MY_P_AMD64}.tgz
- mv -f "${MY_P_AMD64}" "${MY_P}" || die
- else
- unpack ./${MY_P_X86}.tgz
- mv -f "${MY_P_X86}" "${MY_P}" || die
- fi
-
- unpack ./icd-registration.tgz
-}
-
-src_prepare() {
- AMD_CL=usr/$(get_libdir)/OpenCL/vendors/amd/
-}
-
-src_compile() {
- MAKEOPTS+=" -j1"
- use examples && cd samples/opencl && emake
-}
-
-src_install() {
- dodir /opt/AMDAPP
- cp -R "${S}/"* "${ED}/opt/AMDAPP" || die "Install failed!"
-
- dodir "${AMD_CL}"
- dosym "/opt/AMDAPP/lib/`arch`/libOpenCL.so" "${AMD_CL}"
- dosym "/opt/AMDAPP/lib/`arch`/libOpenCL.so.1" "${AMD_CL}"
-
- insinto /etc/OpenCL/vendors/
- doins ../etc/OpenCL/vendors/*
-}