wok-next diff luajit/receipt @ rev 19764
Patch python, up cookutils.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Jun 11 00:18:04 2017 +0300 (2017-06-11) |
parents | |
children | c3a368c0cddb |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/luajit/receipt Sun Jun 11 00:18:04 2017 +0300 1.3 @@ -0,0 +1,29 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="luajit" 1.7 +VERSION="2.0.3" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Just-In-Time Compiler for Lua." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +LICENSE="MIT" 1.12 +SOURCE="LuaJIT" 1.13 +TARBALL="${SOURCE}-${VERSION}.tar.gz" 1.14 +WEB_SITE="http://luajit.org" 1.15 +WGET_URL="http://luajit.org/download/$TARBALL" 1.16 +#HOST_ARCH="i486 arm" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + make amalg PREFIX=/usr && 1.22 + make install DESTDIR=$DESTDIR PREFIX=/usr 1.23 +} 1.24 + 1.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.26 +genpkg_rules() 1.27 +{ 1.28 + mkdir -p $fs/usr/lib $fs/usr/share 1.29 + cp -a $install/usr/bin $fs/usr 1.30 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.31 + cp -a $install/usr/share/luajit-* $fs/usr/share 1.32 +}