wok-6.x view luajit/receipt @ rev 17023

Up dropbear (2014.65)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 14 09:57:53 2014 +0200 (2014-08-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 }