aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schäfer <gentryx@gmx.de>2013-05-15 12:58:13 +0200
committerAndreas Schäfer <gentryx@gmx.de>2013-05-15 12:58:13 +0200
commit750106681608f10cbad4e14fd48fba41726afe84 (patch)
tree8ed02ddbfa53d5cd4d81a003232bcd7a2e19b1e6 /dev-util/amdapp
parentmerge (diff)
downloadsci-750106681608f10cbad4e14fd48fba41726afe84.tar.gz
sci-750106681608f10cbad4e14fd48fba41726afe84.tar.bz2
sci-750106681608f10cbad4e14fd48fba41726afe84.zip
accounting for Justin's comments
Diffstat (limited to 'dev-util/amdapp')
-rw-r--r--dev-util/amdapp/amdapp-2.8.ebuild20
1 files changed, 9 insertions, 11 deletions
diff --git a/dev-util/amdapp/amdapp-2.8.ebuild b/dev-util/amdapp/amdapp-2.8.ebuild
index 9d02b0b2d..f002d0782 100644
--- a/dev-util/amdapp/amdapp-2.8.ebuild
+++ b/dev-util/amdapp/amdapp-2.8.ebuild
@@ -21,6 +21,7 @@ IUSE="examples"
RDEPEND="
app-admin/eselect-opengl
+ !<dev-util/amdstream-2.6
sys-devel/llvm
sys-devel/gcc
media-libs/mesa
@@ -32,34 +33,31 @@ DEPEND="
${RDEPEND}
dev-lang/perl
dev-util/patchelf
- !<dev-util/amdstream-2.6
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 ${HOMEPAGE}"
+}
+
src_unpack() {
- default_src_unpack
+ default
unpack ./${MY_P}.tgz
unpack ./icd-registration.tgz
}
src_compile() {
- if use examples; then
- emake || die "Make failed!"
- fi
+ use examples && emake
}
src_install() {
dodir /opt/AMDAPP
- cp -R "${S}/"* "${D}/opt/AMDAPP" || die "Install failed!"
+ cp -R "${S}/"* "${ED}/opt/AMDAPP" || die "Install failed!"
insinto /etc/OpenCL/vendors/
doins ../etc/OpenCL/vendors/*
}
-
-pkg_nofetch() {
- einfo "AMD doesn't provide direct download links. Please download"
- einfo "${ARCHIVE} from ${HOMEPAGE}"
-}