summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libbash/libbash-0.1.ebuild')
-rw-r--r--dev-libs/libbash/libbash-0.1.ebuild17
1 files changed, 15 insertions, 2 deletions
diff --git a/dev-libs/libbash/libbash-0.1.ebuild b/dev-libs/libbash/libbash-0.1.ebuild
index 5bb57a6..b5cc00e 100644
--- a/dev-libs/libbash/libbash-0.1.ebuild
+++ b/dev-libs/libbash/libbash-0.1.ebuild
@@ -4,15 +4,22 @@
EAPI=4
+if [[ $PV == 9999 ]]; then
+ EGIT_REPO_URI="git://github.com/qiaomuf/libbash.git"
+ inherit git-2
+ SRC_URI=""
+else
+ SRC_URI="http://dev.gentoo.org/~qiaomuf/libbash-0.1.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
inherit java-pkg-opt-2
DESCRIPTION="A C++ library for bash"
HOMEPAGE="http://www.gentoo.org/proj/en/libbash/index.xml"
-SRC_URI="http://dev.gentoo.org/~qiaomuf/libbash-0.1.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
IUSE="doc test"
DEPEND="
@@ -27,3 +34,9 @@ DEPEND="
dev-util/gtest )"
RDEPEND=">=dev-libs/antlr-c-3.3_pre20110403"
+
+if [[ $PV == 9999 ]]; then
+ src_prepare() {
+ ./autogen.sh
+ }
+fi