wok-6.x annotate luafilesystem/receipt @ rev 25344
updated tahoe-lafs (1.13.0 -> 1.17.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 25 07:43:39 2022 +0100 (2022-07-25) |
parents | bc2b9d9bed6f |
children |
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" |
pascal@24975 | 12 WGET_URL="$WEB_SITE/archive/refs/tags/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@24614 | 18 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;s|_|.|g;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 } |