wok view lua-posix/receipt @ rev 24915

updated monitorix (3.12.0 -> 3.14.0)
author Hans-G?nter Theisgen
date Sat Apr 09 16:53:38 2022 +0100 (2022-04-09)
parents 201d8937b25c
children e717a4953b0e
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/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 }