wok-6.x view lua-readline/receipt @ rev 25432
motion: adapted configuration parameters to version 4.4.0
author | Hans-G?nter Theisgen |
---|---|
date | Sun Aug 21 17:07:48 2022 +0100 (24 months ago) |
parents | 34e801e0eb52 |
children |
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 on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
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 }