wok annotate luafilesystem/receipt @ rev 24473

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