wok view lua-posix/receipt @ rev 24097

Up hplip (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 13 17:18:37 2021 +0000 (2021-09-13)
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 }