wok-next view luajit/receipt @ rev 20709
cdrdao: add patch.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 26 17:09:29 2018 +0300 (2018-05-26) |
parents | 7e5a5ff83571 |
children | d2950281f122 |
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://luajit.org"
11 TARBALL="LuaJIT-$VERSION.tar.gz"
12 WGET_URL="http://luajit.org/download/$TARBALL"
14 SPLIT="luajit-dev"
16 compile_rules() {
17 make amalg PREFIX=/usr &&
18 make install DESTDIR=$DESTDIR PREFIX=/usr
19 }
21 genpkg_rules() {
22 case $PACKAGE in
23 luajit)
24 mkdir -p $fs/usr/lib $fs/usr/share
25 cp -a $install/usr/bin $fs/usr
26 cp -a $install/usr/lib/*.so* $fs/usr/lib
27 cp -a $install/usr/share/luajit-* $fs/usr/share
28 ;;
29 *-dev)
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/lib/*.*a $fs/usr/lib
32 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
33 cp -a $install/usr/include $fs/usr
34 ;;
35 esac
36 }