summaryrefslogtreecommitdiff
path: root/dev-lang/luajit
diff options
context:
space:
mode:
authorBertrand Jacquin <bertrand@jacquin.bzh>2020-10-02 22:07:35 +0100
committerBertrand Jacquin <bertrand@jacquin.bzh>2020-10-18 16:02:52 +0100
commit508582d0d02a81e9a36990aaa7c4f5b41d3cb237 (patch)
tree8a1b78f75dbb45c165c720b69bd312b8af52e860 /dev-lang/luajit
parentapp-text/hypermail: drop old (diff)
downloadportage-508582d0d02a81e9a36990aaa7c4f5b41d3cb237.tar.xz
dev-lang/lua: drop old
Diffstat (limited to 'dev-lang/luajit')
-rw-r--r--dev-lang/luajit/Manifest1
-rw-r--r--dev-lang/luajit/files/2.0.4-MEDIUM-Makefile-Handle-TARGET_SYS-Windows.patch33
-rw-r--r--dev-lang/luajit/luajit-2.0.4.ebuild71
-rw-r--r--dev-lang/luajit/metadata.xml17
4 files changed, 0 insertions, 122 deletions
diff --git a/dev-lang/luajit/Manifest b/dev-lang/luajit/Manifest
deleted file mode 100644
index f320bfc1..00000000
--- a/dev-lang/luajit/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST LuaJIT-2.0.4.tar.gz 847615 BLAKE2B b410d06734056283655e70a53b4f1160553cc74a9d6a80d4a919f7f38589888fff339eda661ec623258a5f186f4eb2d2c9b5809b6f7e55f9e058058426e2fe74 SHA512 a72957bd85d8f457269e78bf08c19b28c5707df5d19920d61918f8a6913f55913ce13037fb9a6463c04cefde0c6644739f390e09d656e4bbc2c236927aa3f8f9
diff --git a/dev-lang/luajit/files/2.0.4-MEDIUM-Makefile-Handle-TARGET_SYS-Windows.patch b/dev-lang/luajit/files/2.0.4-MEDIUM-Makefile-Handle-TARGET_SYS-Windows.patch
deleted file mode 100644
index 573fecaa..00000000
--- a/dev-lang/luajit/files/2.0.4-MEDIUM-Makefile-Handle-TARGET_SYS-Windows.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 893aaee064768992327f8488c6f21b90a7d5a6ef Mon Sep 17 00:00:00 2001
-From: Bertrand Jacquin <bertrand@jacquin.bzh>
-Date: Wed, 11 Jun 2014 22:18:52 +0200
-Subject: [PATCH] MEDIUM: Makefile: Handle TARGET_SYS=Windows
-
----
- Makefile | 10 ++++++++++
- 1 file changed, 10 insertions(+)
-
-diff --git a/Makefile b/Makefile
-index b23b648..785496d 100644
---- a/Makefile
-+++ b/Makefile
-@@ -95,6 +95,16 @@ ifeq (,$(findstring Windows,$(OS)))
- endif
- endif
-
-+ifeq (Windows,$(TARGET_SYS))
-+ FILE_T= luajit.exe
-+ INSTALL_TNAME= luajit.exe
-+ INSTALL_TSYMNAME= luajit-$(VERSION).exe
-+
-+ FILE_SO= lua$(subst .,,$(ABIVER)).dll
-+ INSTALL_SONAME= $(FILE_SO)
-+ INSTALL_SOSHORT= libluajit-$(ABIVER).dll
-+endif
-+
- ##############################################################################
-
- INSTALL_DEP= src/luajit
---
-1.8.5.5
-
diff --git a/dev-lang/luajit/luajit-2.0.4.ebuild b/dev-lang/luajit/luajit-2.0.4.ebuild
deleted file mode 100644
index 9f1f0372..00000000
--- a/dev-lang/luajit/luajit-2.0.4.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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
-
- epatch "${FILESDIR}/${PV}-MEDIUM-Makefile-Handle-TARGET_SYS-Windows.patch"
-
- case "${CHOST}" in
- *linux*) TARGET_SYS=Linux ;;
- *mingw*) TARGET_SYS=Windows ;;
- esac
-}
-
-_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_SYS="${TARGET_SYS}" \
- 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
-
- if [[ ${CHOST} != *mingw* ]] ; then
- pax-mark m "${ED}usr/bin/luajit-${MY_PV}"
- fi
-
- cd "${S}"/doc
- dohtml -r *
-}
diff --git a/dev-lang/luajit/metadata.xml b/dev-lang/luajit/metadata.xml
deleted file mode 100644
index c5b9059c..00000000
--- a/dev-lang/luajit/metadata.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>rafaelmartins@gentoo.org</email>
- <name>Rafael G. Martins</name>
- </maintainer>
- <use>
- <flag name="lua52compat">
- Enable some upwards-compatible features
- from Lua 5.2 that are unlikely to break existing code.
- </flag>
- </use>
- <longdescription lang="en">
- LuaJIT is a Just-In-Time Compiler for the Lua programming language.
- </longdescription>
-</pkgmetadata>