wok-current view luafilesystem/receipt @ rev 25549

created recipe for lesspipe
author Hans-G?nter Theisgen
date Mon Apr 03 06:53:23 2023 +0100 (21 months ago)
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 }