wok view luajit/receipt @ rev 16700
Up: slitaz-base-files (5.6.3): fix bug with installing coreutils-line package
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon May 26 16:03:09 2014 +0300 (2014-05-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 }