wok-4.x annotate luafilesystem/receipt @ rev 12469
tazpkg: upgrade core pkgs first
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Wed Nov 09 19:06:12 2022 +0000 (24 months ago) |
parents | |
children |
rev | line source |
---|---|
paul@12399 | 1 # SliTaz package receipt. |
paul@12399 | 2 |
paul@12399 | 3 PACKAGE="luafilesystem" |
paul@12399 | 4 VERSION="1.6.2" |
paul@12399 | 5 CATEGORY="development" |
paul@12399 | 6 SHORT_DESC="File System Library for Lua." |
paul@12399 | 7 MAINTAINER="paul@slitaz.org" |
paul@12399 | 8 DEPENDS="lua" |
paul@12399 | 9 BUILD_DEPENDS="lua lua-dev git bzip2" |
paul@12399 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
paul@12399 | 11 WEB_SITE="http://keplerproject.github.io/luafilesystem/" |
paul@12399 | 12 WGET_URL="git|"git://github.com/keplerproject/luafilesystem.git |
paul@12399 | 13 |
paul@12399 | 14 # Rules to configure and make the package. |
paul@12399 | 15 compile_rules() |
paul@12399 | 16 { |
paul@12399 | 17 cd $src |
paul@12399 | 18 make PREFIX=/usr |
paul@12399 | 19 } |
paul@12399 | 20 |
paul@12399 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@12399 | 22 genpkg_rules() |
paul@12399 | 23 { |
paul@12399 | 24 mkdir -p $fs/usr/lib/lua/5.1 |
paul@12399 | 25 cp -a $src/src/lfs.so $fs/usr/lib/lua/5.1 |
paul@12399 | 26 |
paul@12399 | 27 } |
paul@12399 | 28 |