wok-current view lua-readline/receipt @ rev 24538
updated fbcat (0.5.1 -> 0.5.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 23 15:14:49 2022 +0100 (2022-02-23) |
parents | e19c11d7dc55 |
children | e1e1678c5265 |
line source
1 # SliTaz package receipt.
3 PACKAGE="lua-readline"
4 VERSION="1.0"
5 CATEGORY="development"
6 SHORT_DESC="GNU readline binding for Lua."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://github.com/hleuwer/readline/"
11 TARBALL="$PACKAGE-$VERSION.zip"
12 WGET_URL="${WEB_SITE}archive/master.zip"
14 SUGGESTED="lua"
15 BUILD_DEPENDS="lua-dev readline-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/hleuwer/readline/commits/master 2>/dev/null | \
21 sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 make
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 # lua-dev is version 5.2
34 mkdir -p $fs/usr/lib/lua/5.2
35 cp -a $src/Release/readline.so $fs/usr/lib/lua/5.2
36 }