wok-current annotate lua-posix/receipt @ rev 24390

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