wok-6.x view lua-readline/receipt @ rev 24134
Up lzsa (1.3.8)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 28 18:03:20 2021 +0000 (2021-10-28) |
parents | |
children | 34e801e0eb52 |
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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 make
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 # lua-dev is version 5.2
27 mkdir -p $fs/usr/lib/lua/5.2
28 cp -a $src/Release/readline.so $fs/usr/lib/lua/5.2
29 }