wok-current view luafilesystem/receipt @ rev 25411
updated winetricks (20200412 -> 20220411)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Aug 04 07:24:24 2022 +0100 (2022-08-04) |
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 }