blob: 3814cf109ee2494db4bb9d98f7ef117553b125f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit eutils multilib pax-utils toolchain-funcs
MY_PV="$(ver_cut 1-3)"
MY_P="LuaJIT-${MY_PV}"
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.3"
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
S="${WORKDIR}/${MY_P}"
HTML_DOCS=( doc/ )
PATCHES=( "${FILESDIR}"/${PN}-luaver.patch
"${FILESDIR}"/${PN}-nosymlinks.patch )
src_install(){
default
pax-mark m "${ED}usr/bin/luajit-${MY_PV}"
einstalldocs
}
|