wok-next diff luajit/receipt @ rev 17130

Up QtWeb (git-fork)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Tue Sep 09 13:58:22 2014 +0200 (2014-09-09)
parents
children c3a368c0cddb
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/luajit/receipt	Tue Sep 09 13:58:22 2014 +0200
     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 +}