wok-6.x view lua-dev/receipt @ rev 10391

apr: can't cross (use native)
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 23 18:50:47 2011 +0200 (2011-05-23)
parents 5fb27e4bf774
children 2161c145d5b3
line source
1 # SliTaz package receipt.
3 PACKAGE="lua-dev"
4 VERSION="5.1.4"
5 CATEGORY="development"
6 SHORT_DESC="Lua devel files."
7 WANTED="lua"
8 MAINTAINER="pankso@slitaz.org"
9 WEB_SITE="http://www.lua.org/"
11 # Rules to gen a SliTaz package suitable for Tazpkg.
12 genpkg_rules()
13 {
14 mkdir -p $fs/usr/lib/pkgconfig $fs/usr/include
15 # include
16 for i in lua.h luaconf.h lualib.h lauxlib.h ../etc/lua.hpp
17 do
18 cp -a $src/src/$i $fs/usr/include
19 done
20 # liblua.a
21 cp -a $src/src/liblua.a $fs/usr/lib
22 cp -a $src/etc/lua.pc $fs/usr/lib/pkgconfig
23 }