wok annotate lua5.1-dev/receipt @ rev 19243
tazlito: fix version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 28 12:46:13 2016 +0200 (2016-06-28) |
parents | 2a5cc8208d36 |
children | fcccf4376301 |
rev | line source |
---|---|
pankso@13632 | 1 # SliTaz package receipt. |
pankso@13632 | 2 |
pankso@13632 | 3 PACKAGE="lua5.1-dev" |
pankso@13632 | 4 VERSION="5.1.4" |
pankso@13632 | 5 CATEGORY="development" |
pankso@13632 | 6 SHORT_DESC="Lua devel files." |
pankso@13632 | 7 WANTED="lua5.1" |
pankso@13632 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@15379 | 9 LICENSE="MIT" |
pankso@13632 | 10 WEB_SITE="http://www.lua.org/" |
pankso@13632 | 11 |
pascal@15597 | 12 DEPENDS="pkg-config" |
pascal@15597 | 13 |
pankso@13632 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@13632 | 15 genpkg_rules() |
pankso@13632 | 16 { |
pankso@13632 | 17 mkdir -p $fs/usr/lib/pkgconfig $fs/usr/lib/lua/5.1 |
pankso@13632 | 18 cp -a $install/usr/include $fs/usr |
pankso@13632 | 19 cp -a $install/usr/lib/lua/5.1/liblua.a $fs/usr/lib/lua/5.1 |
pascal@13860 | 20 ln -s liblua.a $fs/usr/lib/lua/5.1/liblua5.1.a |
pankso@13632 | 21 cp -a $src/etc/lua.pc $fs/usr/lib/pkgconfig/lua5.1.pc |
pankso@13632 | 22 } |