wok view luajit/receipt @ rev 24185
updated perl-common-sense (3.74 -> 3.75)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 14:04:57 2021 +0100 (2021-12-31) |
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 }