wok-current annotate luafilesystem/receipt @ rev 17430

luafilesystem: fix genpkg_rules (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 05 18:06:40 2014 +0100 (2014-12-05)
parents 44e98478354d
children 54a89157f006
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@17429 13 SUGGESTED="lua"
pascal@17429 14 BUILD_DEPENDS="wget lua-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@17430 25 mkdir -p $fs/usr/lib/lua/5.2/
pascal@17430 26 cp -a $src/src/lfs.so $fs/usr/lib/lua/5.2/
pascal@17428 27 }