wok view luajit/receipt @ rev 18596
libsdl: fix post_install() status
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 13 17:31:47 2015 +0200 (2015-11-13) |
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 }