wok-current annotate luajit/receipt @ rev 16251

ARM add: hubbub libnsgif libparserutils
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 04 00:05:33 2014 +0200 (2014-04-04)
parents
children 8b724fa51e1a
rev   line source
pankso@16147 1 # SliTaz package receipt.
pankso@16147 2
pankso@16147 3 PACKAGE="luajit"
pankso@16147 4 VERSION="2.0.3"
pankso@16147 5 CATEGORY="development"
pankso@16147 6 SHORT_DESC="Just-In-Time Compiler for Lua."
pankso@16147 7 MAINTAINER="pankso@slitaz.org"
pankso@16147 8 LICENSE="MIT"
pankso@16147 9 SOURCE="LuaJIT"
pankso@16147 10 TARBALL="${SOURCE}-${VERSION}.tar.gz"
pankso@16147 11 WEB_SITE="http://luajit.org"
pankso@16147 12 WGET_URL="http://luajit.org/download/$TARBALL"
pankso@16147 13 #HOST_ARCH="i486 arm"
pankso@16147 14
pankso@16147 15 # Rules to configure and make the package.
pankso@16147 16 compile_rules()
pankso@16147 17 {
pankso@16147 18 make amalg PREFIX=/usr &&
pankso@16147 19 make install DESTDIR=$DESTDIR PREFIX=/usr
pankso@16147 20 }
pankso@16147 21
pankso@16147 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@16147 23 genpkg_rules()
pankso@16147 24 {
pankso@16147 25 mkdir -p $fs/usr/lib $fs/usr/share
pankso@16147 26 cp -a $install/usr/bin $fs/usr
pankso@16147 27 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@16147 28 cp -a $install/usr/share/luajit-* $fs/usr/share
pankso@16147 29 }