aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorILMostro <ilmostro7@gmail.com>2018-06-26 01:14:55 -0500
committerILMostro <ilmostro7@gmail.com>2018-06-26 01:14:55 -0500
commit1b9efc01c2093167b71f5666a09bceaae835af2e (patch)
tree21fc90c330b4a45ac01a90643fb29edbd4ecd55d /dev-lang
parentremoved vbox-modules attempt from master branch (diff)
downloadag-ops-1b9efc01c2093167b71f5666a09bceaae835af2e.tar.gz
ag-ops-1b9efc01c2093167b71f5666a09bceaae835af2e.tar.bz2
ag-ops-1b9efc01c2093167b71f5666a09bceaae835af2e.zip
removed slotted luajit, as there is no eselect-luajit package (yet)
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/luajit/luajit-2.0.4.ebuild2
-rw-r--r--dev-lang/luajit/luajit-2.0.5-r1.ebuild51
-rw-r--r--dev-lang/luajit/luajit-2.0.5.ebuild2
3 files changed, 12 insertions, 43 deletions
diff --git a/dev-lang/luajit/luajit-2.0.4.ebuild b/dev-lang/luajit/luajit-2.0.4.ebuild
index 8214b96..e5d734b 100644
--- a/dev-lang/luajit/luajit-2.0.4.ebuild
+++ b/dev-lang/luajit/luajit-2.0.4.ebuild
@@ -12,7 +12,7 @@ DESCRIPTION="Just-In-Time Compiler for the Lua programming language"
HOMEPAGE="http://luajit.org/"
SRC_URI="http://luajit.org/download/${MY_P}.tar.gz"
LICENSE="MIT"
-SLOT="2.0.4"
+SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
S="${WORKDIR}/${MY_P}"
diff --git a/dev-lang/luajit/luajit-2.0.5-r1.ebuild b/dev-lang/luajit/luajit-2.0.5-r1.ebuild
index a60c5c1..3a6d64d 100644
--- a/dev-lang/luajit/luajit-2.0.5-r1.ebuild
+++ b/dev-lang/luajit/luajit-2.0.5-r1.ebuild
@@ -1,62 +1,31 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit pax-utils toolchain-funcs versionator
+inherit eutils multilib pax-utils toolchain-funcs
-MY_PV="$(get_version_component_range 1-3)"
+MY_PV="$(ver_cut 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}}"
-
+SRC_URI="http://luajit.org/download/${MY_P}.tar.gz"
LICENSE="MIT"
-# this should probably be pkgmoved to 2.0 for sake of consistency.
-SLOT="2"
+SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
-IUSE="lua52compat static-libs"
S="${WORKDIR}/${MY_P}"
-src_prepare(){
- if [[ -n ${HOTFIX} ]]; then
- eapply "${DISTDIR}/${HOTFIX}"
- fi
- default
-}
+# LUA_VERSION=$(readlink -e "${EROOT}"/usr/bin/lua | sed -ne 's:.*/usr/bin/lua\([\d.-]*\):\1:p')
-_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" \
- BUILDMODE="$(usex static-libs mixed dynamic)" \
- TARGET_STRIP="true" \
- INSTALL_LIB="${ED%/}/usr/$(get_libdir)" \
- "$@"
-}
-
-src_compile() {
- _emake XCFLAGS="$(usex lua52compat "-DLUAJIT_ENABLE_LUA52COMPAT" "")"
-}
+HTML_DOCS=( doc/ )
+PATCHES=( "${FILESDIR}"/${PN}-luaver.patch )
src_install(){
- _emake install
+ default
pax-mark m "${ED}usr/bin/luajit-${MY_PV}"
- HTML_DOCS="doc/." einstalldocs
+ einstalldocs
}
diff --git a/dev-lang/luajit/luajit-2.0.5.ebuild b/dev-lang/luajit/luajit-2.0.5.ebuild
index 48d2717..3a6d64d 100644
--- a/dev-lang/luajit/luajit-2.0.5.ebuild
+++ b/dev-lang/luajit/luajit-2.0.5.ebuild
@@ -12,7 +12,7 @@ DESCRIPTION="Just-In-Time Compiler for the Lua programming language"
HOMEPAGE="http://luajit.org/"
SRC_URI="http://luajit.org/download/${MY_P}.tar.gz"
LICENSE="MIT"
-SLOT="2.0.5"
+SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
S="${WORKDIR}/${MY_P}"