diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2015-05-21 09:01:30 +0000 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2015-05-21 09:01:30 +0000 |
commit | bb1700c7c3dfc1e92c374df9b1d5f82b9e3b1175 (patch) | |
tree | d0fa5610864f0eb5f39613c6694d1d5f7862c643 /dev-lang/luajit | |
parent | Add memory patches for ppc/CACAO and keyword latest versions for ~ppc. (diff) | |
download | gentoo-2-bb1700c7c3dfc1e92c374df9b1d5f82b9e3b1175.tar.gz gentoo-2-bb1700c7c3dfc1e92c374df9b1d5f82b9e3b1175.tar.bz2 gentoo-2-bb1700c7c3dfc1e92c374df9b1d5f82b9e3b1175.zip |
Version bump.
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 93491BB8)
Diffstat (limited to 'dev-lang/luajit')
-rw-r--r-- | dev-lang/luajit/ChangeLog | 7 | ||||
-rw-r--r-- | dev-lang/luajit/luajit-2.0.4.ebuild | 62 |
2 files changed, 68 insertions, 1 deletions
diff --git a/dev-lang/luajit/ChangeLog b/dev-lang/luajit/ChangeLog index c7012395e914..05bf1093e0ba 100644 --- a/dev-lang/luajit/ChangeLog +++ b/dev-lang/luajit/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lang/luajit # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/luajit/ChangeLog,v 1.25 2015/04/02 19:49:53 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/luajit/ChangeLog,v 1.26 2015/05/21 09:01:30 monsieurp Exp $ + +*luajit-2.0.4 (21 May 2015) + + 21 May 2015; Patrice Clement <monsieurp@gentoo.org> +luajit-2.0.4.ebuild: + Version bump. 02 Apr 2015; Markus Meier <maekke@gentoo.org> luajit-2.0.2.ebuild: arm stable, bug #538720 diff --git a/dev-lang/luajit/luajit-2.0.4.ebuild b/dev-lang/luajit/luajit-2.0.4.ebuild new file mode 100644 index 000000000000..741076296995 --- /dev/null +++ b/dev-lang/luajit/luajit-2.0.4.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/luajit/luajit-2.0.4.ebuild,v 1.1 2015/05/21 09:01:30 monsieurp Exp $ + +EAPI=5 + +inherit eutils multilib pax-utils versionator toolchain-funcs + +MY_PV="$(get_version_component_range 1-3)" +MY_P="LuaJIT-${MY_PV}" +if [[ -n $(get_version_component_range 4) ]]; then + HOTFIX="v${PV}" + HOTFIX="${HOTFIX/_p/_hotfix}.patch" +fi + +DESCRIPTION="Just-In-Time Compiler for the Lua programming language" +HOMEPAGE="http://luajit.org/" +SRC_URI="http://luajit.org/download/${MY_P}.tar.gz + ${HOTFIX:+http://luajit.org/download/${HOTFIX}}" + +LICENSE="MIT" +# this should probably be pkgmoved to 2.0 for sake of consistency. +SLOT="2" +KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux" +IUSE="lua52compat" + +S="${WORKDIR}/${MY_P}" + +src_prepare(){ + if [[ -n ${HOTFIX} ]]; then + epatch "${DISTDIR}/${HOTFIX}" + fi +} + +_emake() { + emake \ + Q= \ + PREFIX="${EPREFIX}/usr" \ + MULTILIB="$(get_libdir)" \ + DESTDIR="${D}" \ + HOST_CC="$(tc-getBUILD_CC)" \ + STATIC_CC="$(tc-getCC)" \ + DYNAMIC_CC="$(tc-getCC) -fPIC" \ + TARGET_LD="$(tc-getCC)" \ + TARGET_AR="$(tc-getAR) rcus" \ + TARGET_STRIP="true" \ + INSTALL_LIB="${ED%/}/usr/$(get_libdir)" \ + "$@" +} + +src_compile() { + _emake XCFLAGS="$(usex lua52compat "-DLUAJIT_ENABLE_LUA52COMPAT" "")" +} + +src_install(){ + _emake install + + pax-mark m "${ED}usr/bin/luajit-${MY_PV}" + + cd "${S}"/doc + dohtml -r * +} |