wok view luajit/receipt @ rev 23836

Up jbig2dec (0.18), metasploit (5.0.91), nginx (1.19.0), spamassassin (3.4.4), sqlite (3.32.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 01 10:15:25 2020 +0000 (2020-06-01)
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 }