wok view luajit/receipt @ rev 17223

memtest: fix bootloader EXE case
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Oct 14 22:40:53 2014 +0200 (2014-10-14)
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 }