wok-current view luafilesystem/receipt @ rev 24538
updated fbcat (0.5.1 -> 0.5.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 23 15:14:49 2022 +0100 (2022-02-23) |
parents | a6b3117d9ecb |
children | bc2b9d9bed6f |
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/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|;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 }