wok-next annotate lua-dev/receipt @ rev 2554
Up php-cups (1.3.9)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 26 12:26:52 2009 +0000 (2009-03-26) |
parents | 5fb27e4bf774 |
children | 2161c145d5b3 |
rev | line source |
---|---|
pankso@634 | 1 # SliTaz package receipt. |
pankso@634 | 2 |
pankso@634 | 3 PACKAGE="lua-dev" |
pascal@2058 | 4 VERSION="5.1.4" |
pascal@741 | 5 CATEGORY="development" |
pankso@634 | 6 SHORT_DESC="Lua devel files." |
pankso@634 | 7 WANTED="lua" |
pankso@634 | 8 MAINTAINER="pankso@slitaz.org" |
pankso@634 | 9 WEB_SITE="http://www.lua.org/" |
pankso@634 | 10 |
pankso@634 | 11 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@634 | 12 genpkg_rules() |
pankso@634 | 13 { |
pankso@643 | 14 mkdir -p $fs/usr/lib/pkgconfig $fs/usr/include |
pankso@634 | 15 # include |
pankso@635 | 16 for i in lua.h luaconf.h lualib.h lauxlib.h ../etc/lua.hpp |
pankso@634 | 17 do |
pankso@634 | 18 cp -a $src/src/$i $fs/usr/include |
pankso@634 | 19 done |
pankso@634 | 20 # liblua.a |
pankso@634 | 21 cp -a $src/src/liblua.a $fs/usr/lib |
pankso@643 | 22 cp -a $src/etc/lua.pc $fs/usr/lib/pkgconfig |
pankso@634 | 23 } |
pankso@634 | 24 |