wok-next view luafilesystem/receipt @ rev 17428
Add luafilesystem
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 05 17:48:43 2014 +0100 (2014-12-05) |
parents | |
children | 44e98478354d |
line source
1 # SliTaz package receipt.
3 PACKAGE="luafilesystem"
4 VERSION="1.6.2"
5 CATEGORY="development"
6 SHORT_DESC="File System Library for the Lua Programming Language."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://keplerproject.github.io/luafilesystem/"
11 WGET_URL="https://github.com/keplerproject/$PACKAGE/archive/v${VERSION//./_}.tar.gz"
13 SUGGESTED="lua5.1"
14 BUILD_DEPENDS="wget lua5.1-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 make
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/lib/lua/5.1/
26 cp -a src/lfs.so $fs/usr/lib/lua/5.1/
27 }