wok view luajit/receipt @ rev 20428

Up gparted (0.32.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 26 12:20:26 2018 +0200 (2018-08-26)
parents
children 8b724fa51e1a
line source
1 # SliTaz package receipt.
3 PACKAGE="luajit"
4 VERSION="2.0.3"
5 CATEGORY="development"
6 SHORT_DESC="Just-In-Time Compiler for Lua."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 SOURCE="LuaJIT"
10 TARBALL="${SOURCE}-${VERSION}.tar.gz"
11 WEB_SITE="http://luajit.org"
12 WGET_URL="http://luajit.org/download/$TARBALL"
13 #HOST_ARCH="i486 arm"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 make amalg PREFIX=/usr &&
19 make install DESTDIR=$DESTDIR PREFIX=/usr
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/lib $fs/usr/share
26 cp -a $install/usr/bin $fs/usr
27 cp -a $install/usr/lib/*.so* $fs/usr/lib
28 cp -a $install/usr/share/luajit-* $fs/usr/share
29 }