aboutsummaryrefslogtreecommitdiff
blob: 8214b961fa3b06945a9664522e2d13d0394f7cf3 (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
# 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.4"
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"

S="${WORKDIR}/${MY_P}"

HTML_DOCS=( doc/ )
PATCHES=( "${FILESDIR}"/${PN}-luaver.patch )

src_install(){
	default

	pax-mark m "${ED}usr/bin/luajit-${MY_PV}"

	einstalldocs
}