wok-current view luafilesystem/receipt @ rev 24996
updated nim (0.19.6 -> 1.6.6)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 16 10:46:30 2022 +0100 (2022-05-16) |
parents | bc2b9d9bed6f |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="luafilesystem"
4 VERSION="1.7.0.2"
5 CATEGORY="development"
6 SHORT_DESC="File System Library for the Lua Programming Language (5.2)."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://github.com/keplerproject/luafilesystem"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/refs/tags/v${VERSION//./_}.tar.gz"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - $WEB_SITE/tags 2>/dev/null | \
18 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;s|_|.|g;q'
19 }
21 SUGGESTED="lua"
22 BUILD_DEPENDS="lua-dev"
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 make
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib/lua/5.2/
34 cp -a $src/src/lfs.so $fs/usr/lib/lua/5.2/
35 }