wok-4.x view lua-dev/receipt @ rev 9113
slitaz-doc: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 05 11:34:20 2011 +0100 (2011-03-05) |
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 }