wok-next annotate lua-dev/receipt @ rev 1350
added aterm
author | Allan Pinto <allan316@gmail.com> |
---|---|
date | Sat Sep 06 15:30:37 2008 +0000 (2008-09-06) |
parents | b2edc3caa9ec |
children | 217ec201c18e |
rev | line source |
---|---|
pankso@634 | 1 # SliTaz package receipt. |
pankso@634 | 2 |
pankso@634 | 3 PACKAGE="lua-dev" |
pankso@634 | 4 VERSION="5.1.3" |
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 |