diff options
| author | eroen | 2013-05-13 14:13:12 +0200 |
|---|---|---|
| committer | eroen | 2013-05-13 14:13:12 +0200 |
| commit | 1f22c5938251335f631df6bd6abfc380b3f8ed31 (patch) | |
| tree | e862d95fcf5bd119b0cae077a3cf0369de7a235c /dev-lang/lci/lci-0.11.1.ebuild | |
| parent | 9e8a450cc5bdc2c24bc661a3b55cf4efd30f3d4a (diff) | |
| download | eroen-overlay-1f22c5938251335f631df6bd6abfc380b3f8ed31.tar.gz eroen-overlay-1f22c5938251335f631df6bd6abfc380b3f8ed31.tar.bz2 eroen-overlay-1f22c5938251335f631df6bd6abfc380b3f8ed31.tar.xz | |
added lci-0.11.1 and -9999
Diffstat (limited to 'dev-lang/lci/lci-0.11.1.ebuild')
| -rw-r--r-- | dev-lang/lci/lci-0.11.1.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-lang/lci/lci-0.11.1.ebuild b/dev-lang/lci/lci-0.11.1.ebuild new file mode 100644 index 00000000..37f72585 --- /dev/null +++ b/dev-lang/lci/lci-0.11.1.ebuild @@ -0,0 +1,40 @@ +# By eroen, 2013 +# Distributed under the terms of the ISC licence +# $Header: $ + +EAPI=5 + +PYTHON_COMPAT="python2_7" +inherit eutils python-single-r1 cmake-utils + +DESCRIPTION="LOLCODE interpreter written in C" +HOMEPAGE="http://lolcode.org/" +LICENSE="GPL-3+" +SLOT="0" +IUSE="test memtest" + +if [[ ${PV} == 9999 ]]; then + inherit git-2 + EGIT_REPO_URI=https://github.com/justinmeza/lci.git +else + SRC_URI="https://github.com/justinmeza/${PN}/archive/v${PV}.tar.gz" + KEYWORDS="~amd64" +fi + +HDEPEND="test? ( + virtual/python-argparse[${PYTHON_USEDEP}] + memtest? ( dev-util/valgrind ) )" +LIBDEPEND="" +DEPEND="${LIBDEPEND}" +RDEPEND="${LIBDEPEND}" +[[ ${EAPI} == *-hdepend ]] || DEPEND+=" ${HDEPEND}" + +src_prepare() { + epatch_user + python_fix_shebang test/testDriver.py +} + +src_configure() { + mycmakeargs=($(cmake-utils_use memtest PERFORM_MEM_TESTS:BOOL)) + cmake-utils_src_configure +} |
