wok-6.x view luajit/receipt @ rev 23253
updated ntl (5.5.2 -> 11.4.3)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 25 15:08:12 2020 +0100 (2020-03-25) |
parents | 7e5a5ff83571 |
children | ede1d184d5c5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="luajit"
4 VERSION="2.0.5"
5 CATEGORY="development"
6 SHORT_DESC="Just-In-Time Compiler for Lua."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://luajit.org"
11 SOURCE="LuaJIT"
12 TARBALL="${SOURCE}-${VERSION}.tar.gz"
13 WGET_URL="http://luajit.org/download/$TARBALL"
15 #HOST_ARCH="i486 arm"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 make amalg PREFIX=/usr &&
21 make install DESTDIR=$DESTDIR PREFIX=/usr
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 mkdir -p $fs/usr/share
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 cp -a $install/usr/share/luajit-* $fs/usr/share
33 }