wok annotate luafilesystem/receipt @ rev 24211
created recipe for perl-file-rsync
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 16:00:22 2021 +0100 (2021-12-31) |
parents | 54a89157f006 |
children | b569b85b0fb9 |
rev | line source |
---|---|
pascal@17428 | 1 # SliTaz package receipt. |
pascal@17428 | 2 |
pascal@17428 | 3 PACKAGE="luafilesystem" |
Hans-G?nter@23145 | 4 VERSION="1.7.0.2" |
pascal@17428 | 5 CATEGORY="development" |
Hans-G?nter@23145 | 6 SHORT_DESC="File System Library for the Lua Programming Language (5.2)." |
pascal@17428 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17428 | 8 LICENSE="MIT" |
Hans-G?nter@23145 | 9 WEB_SITE="https://github.com/keplerproject/luafilesystem/" |
Hans-G?nter@21382 | 10 |
pascal@17428 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@23145 | 12 WGET_URL="${WEB_SITE}archive/v${VERSION//./_}.tar.gz" |
pascal@17428 | 13 |
pascal@17429 | 14 SUGGESTED="lua" |
Hans-G?nter@21382 | 15 BUILD_DEPENDS="lua-dev" |
pascal@17428 | 16 |
pascal@17428 | 17 # Rules to configure and make the package. |
pascal@17428 | 18 compile_rules() |
pascal@17428 | 19 { |
pascal@17428 | 20 make |
pascal@17428 | 21 } |
pascal@17428 | 22 |
pascal@17428 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17428 | 24 genpkg_rules() |
pascal@17428 | 25 { |
pascal@17430 | 26 mkdir -p $fs/usr/lib/lua/5.2/ |
Hans-G?nter@23145 | 27 cp -a $src/src/lfs.so $fs/usr/lib/lua/5.2/ |
pascal@17428 | 28 } |