wok view lua-readline/receipt @ rev 25652
Up ntfs-3g (2022.10.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 06 11:59:08 2024 +0000 (9 months ago) |
parents | e1e1678c5265 |
children | a66f312c374b |
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 '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
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 }