diff options
author | 2015-01-10 18:10:30 -0700 | |
---|---|---|
committer | 2015-01-10 18:10:30 -0700 | |
commit | a3fb2f2846f14b9f2dce81a74c56c2747a1f685d (patch) | |
tree | d472b7bd2db3bc68f2c476227591bf79fda98f4e | |
parent | Merge pull request #319 from marbre/rnaplex (diff) | |
parent | sci-libs/arrayfire: Improve and clean gtest src handling (diff) | |
download | sci-a3fb2f2846f14b9f2dce81a74c56c2747a1f685d.tar.gz sci-a3fb2f2846f14b9f2dce81a74c56c2747a1f685d.tar.bz2 sci-a3fb2f2846f14b9f2dce81a74c56c2747a1f685d.zip |
Merge pull request #320 from marbre/arrayfire
sci-libs/arrayfire: Fix DEPEND and replace unpacker by unpack
-rw-r--r-- | sci-libs/arrayfire/arrayfire-9999.ebuild | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/sci-libs/arrayfire/arrayfire-9999.ebuild b/sci-libs/arrayfire/arrayfire-9999.ebuild index a1af26b91..107af240e 100644 --- a/sci-libs/arrayfire/arrayfire-9999.ebuild +++ b/sci-libs/arrayfire/arrayfire-9999.ebuild @@ -4,12 +4,14 @@ EAPI=5 -inherit cmake-utils git-r3 unpacker +inherit cmake-utils git-r3 + +GTEST_PV="1.7.0" DESCRIPTION="A general purpose GPU library." HOMEPAGE="http://www.arrayfire.com/" EGIT_REPO_URI="https://github.com/arrayfire/arrayfire.git" -SRC_URI="test? ( https://googletest.googlecode.com/files/gtest-1.7.0.zip )" +SRC_URI="test? ( https://googletest.googlecode.com/files/gtest-${GTEST_PV}.zip )" KEYWORDS="~amd64" LICENSE="BSD" @@ -22,8 +24,7 @@ RDEPEND=" virtual/cblas cuda? ( >=dev-util/nvidia-cuda-toolkit-6.0 ) sci-libs/fftw:3.0" -DEPEND="${RDEPEND} - test? ( app-arch/unzip )" +DEPEND="${RDEPEND}" BUILD_DIR="${S}/build" CMAKE_BUILD_TYPE=Release @@ -52,8 +53,8 @@ src_unpack() { if use test; then mkdir -p "${BUILD_DIR}"/third_party/src/ || die cd "${BUILD_DIR}"/third_party/src/ || die - unpack_zip "${DISTDIR}/"gtest-1.7.0.zip - mv "${BUILD_DIR}"/third_party/src/gtest-1.7.0 "${BUILD_DIR}"/third_party/src/googletest || die + unpack ${A} + mv "${BUILD_DIR}"/third_party/src/gtest-"${GTEST_PV}" "${BUILD_DIR}"/third_party/src/googletest || die fi } |