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