wok view lua-posix/receipt @ rev 25198
updated python-jedi (0.16.0 -> 0.17.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 13:40:45 2022 +0100 (2022-07-13) |
parents | b569b85b0fb9 |
children | 7364ffdaaa60 |
line source
1 # SliTaz package receipt.
3 PACKAGE="lua-posix"
4 VERSION="35.0"
5 CATEGORY="development"
6 SHORT_DESC="POSIX Library for the Lua Programming Language."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://github.com/luaposix/luaposix"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/refs/tags/v$VERSION.tar.gz"
14 SUGGESTED="lua"
15 BUILD_DEPENDS="lua-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export USER=$VERSION
28 build-aux/luke
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 # lua-dev is version 5.2
35 mkdir -p $fs/usr/lib/lua/5.2
37 cp -a $src/linux/posix $fs/usr/lib/lua/5.2
38 cp -a $src/lib/posix $fs/usr/lib/lua/5.2
39 }