wok-next view luajit/receipt @ rev 20806
I. node update: security -> https://nodejs.org/en/blog/vulnerability/june-2018-security-releases/ 9.5.0 -> 9.11.2 II. add checksum
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Wed Jun 13 08:26:54 2018 +0000 (2018-06-13) |
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 }