wok view lua-readline/receipt @ rev 25674

tiptop: race condition
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 28 11:10:12 2024 +0000 (2 months ago)
parents c470ca10c896
children
line source
1 # SliTaz package receipt.
3 PACKAGE="lua-readline"
4 GITHASH="849af12564a00f0db43080a4a542aa1c20a677e2"
5 VERSION="20190930"
6 CATEGORY="development"
7 SHORT_DESC="GNU readline binding for Lua."
8 MAINTAINER="maintainer@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://github.com/hleuwer/readline/"
12 TARBALL="$PACKAGE-$VERSION.zip"
13 WGET_URL="${WEB_SITE}archive/$GITHASH.zip"
15 SUGGESTED="lua"
16 BUILD_DEPENDS="lua-dev readline-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://github.com/hleuwer/readline/commits/master 2>/dev/null | \
22 sed 's|",|&\n|g' | sed '/committedDate/!d;s|.*":"||;s|T.*||;s|-||g;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 make
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
36 cp -a $src/Release/readline.so $fs/usr/lib/lua/5.2
37 }