wok-6.x view luajit/receipt @ rev 24829

updated libsixel and libsixel-dev (1.8.6 -> 1.10.3)
author Hans-G?nter Theisgen
date Wed Mar 23 17:37:29 2022 +0100 (2022-03-23)
parents 8b724fa51e1a
children e717a4953b0e
line source
1 # SliTaz package receipt.
3 PACKAGE="luajit"
4 VERSION="2.0.5"
5 CATEGORY="development"
6 SHORT_DESC="Just-In-Time Compiler for Lua."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://luajit.org"
11 SOURCE="LuaJIT"
12 TARBALL="${SOURCE}-${VERSION}.tar.gz"
13 WGET_URL="http://luajit.org/download/$TARBALL"
15 #HOST_ARCH="i486 arm"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - http://luajit.org/download.html 2>/dev/null | \
21 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;/beta/d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 make amalg PREFIX=/usr &&
28 make install DESTDIR=$DESTDIR PREFIX=/usr
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 mkdir -p $fs/usr/share
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 cp -a $install/usr/share/luajit-* $fs/usr/share
40 }