wok-current view luafilesystem/receipt @ rev 24841
updated libuninameslist and libuninameslist-dev (20190701 -> 20211114)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 25 09:32:35 2022 +0100 (2022-03-25) |
parents | b569b85b0fb9 |
children | e717a4953b0e |
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|;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 }