wok-current annotate luajit/receipt @ rev 23363
updated perl-log-agent (0.2.8 -> 1.003)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 31 11:09:53 2020 +0100 (2020-03-31) |
parents | 7e5a5ff83571 |
children | ede1d184d5c5 |
rev | line source |
---|---|
pankso@16147 | 1 # SliTaz package receipt. |
pankso@16147 | 2 |
pankso@16147 | 3 PACKAGE="luajit" |
Hans-G?nter@21383 | 4 VERSION="2.0.5" |
pankso@16147 | 5 CATEGORY="development" |
pankso@16147 | 6 SHORT_DESC="Just-In-Time Compiler for Lua." |
pankso@16147 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@16147 | 8 LICENSE="MIT" |
Hans-G?nter@21383 | 9 WEB_SITE="https://luajit.org" |
Hans-G?nter@21383 | 10 |
pankso@16147 | 11 SOURCE="LuaJIT" |
pankso@16147 | 12 TARBALL="${SOURCE}-${VERSION}.tar.gz" |
pankso@16147 | 13 WGET_URL="http://luajit.org/download/$TARBALL" |
Hans-G?nter@21383 | 14 |
pankso@16147 | 15 #HOST_ARCH="i486 arm" |
pankso@16147 | 16 |
pankso@16147 | 17 # Rules to configure and make the package. |
pankso@16147 | 18 compile_rules() |
pankso@16147 | 19 { |
pankso@16147 | 20 make amalg PREFIX=/usr && |
pankso@16147 | 21 make install DESTDIR=$DESTDIR PREFIX=/usr |
pankso@16147 | 22 } |
pankso@16147 | 23 |
pankso@16147 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16147 | 25 genpkg_rules() |
pankso@16147 | 26 { |
Hans-G?nter@21383 | 27 mkdir -p $fs/usr/lib |
Hans-G?nter@21383 | 28 mkdir -p $fs/usr/share |
Hans-G?nter@21383 | 29 |
Hans-G?nter@21383 | 30 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21383 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@21383 | 32 cp -a $install/usr/share/luajit-* $fs/usr/share |
pankso@16147 | 33 } |