wok-current view lua-readline/receipt @ rev 23932

created recipe for lua-readline
author Hans-G?nter Theisgen
date Sat Sep 05 10:57:14 2020 +0100 (2020-09-05)
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 }