commit:     715c0276f7d4ff676f9579b38fa7662330575831
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Mon Jan 12 21:39:49 2015 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Mon Jan 12 21:39:49 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=715c0276

Add arrayfire-0.9999.ebuild: symlink to arrayfire-9999.ebuild

---
 sci-libs/arrayfire/arrayfire-0.9999.ebuild | 1 +
 sci-libs/arrayfire/arrayfire-9999.ebuild   | 5 ++++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/sci-libs/arrayfire/arrayfire-0.9999.ebuild 
b/sci-libs/arrayfire/arrayfire-0.9999.ebuild
new file mode 120000
index 0000000..71d00d4
--- /dev/null
+++ b/sci-libs/arrayfire/arrayfire-0.9999.ebuild
@@ -0,0 +1 @@
+arrayfire-9999.ebuild
\ No newline at end of file

diff --git a/sci-libs/arrayfire/arrayfire-9999.ebuild 
b/sci-libs/arrayfire/arrayfire-9999.ebuild
index 90d125a..f59d7e3 100644
--- a/sci-libs/arrayfire/arrayfire-9999.ebuild
+++ b/sci-libs/arrayfire/arrayfire-9999.ebuild
@@ -11,9 +11,12 @@ 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 
git://github.com/arrayfire/arrayfire.git"
-EGIT_BRANCH="master"
 SRC_URI="test? ( https://googletest.googlecode.com/files/gtest-${GTEST_PV}.zip 
)"
 KEYWORDS=""
+if [[ ${PV} == "0.9999" ]] ; then
+       # the remote HEAD points to devel, but we want to pull the master 
instead
+       EGIT_BRANCH="master"
+fi
 
 LICENSE="BSD"
 SLOT="0"

Reply via email to