wok-6.x view lua-posix/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 | b569b85b0fb9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="lua-posix"
4 VERSION="35.0"
5 CATEGORY="development"
6 SHORT_DESC="POSIX Library for the Lua Programming Language."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://github.com/luaposix/luaposix/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz"
14 SUGGESTED="lua"
15 BUILD_DEPENDS="lua-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export USER=$VERSION
21 build-aux/luke
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 # lua-dev is version 5.2
28 mkdir -p $fs/usr/lib/lua/5.2
30 cp -a $src/linux/posix $fs/usr/lib/lua/5.2
31 cp -a $src/lib/posix $fs/usr/lib/lua/5.2
32 }