wok-6.x view lua5.1-dev/receipt @ rev 15597

Update some bdeps with pkg-config
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 05 11:43:50 2013 +0000 (2013-12-05)
parents 2a5cc8208d36
children fcccf4376301
line source
1 # SliTaz package receipt.
3 PACKAGE="lua5.1-dev"
4 VERSION="5.1.4"
5 CATEGORY="development"
6 SHORT_DESC="Lua devel files."
7 WANTED="lua5.1"
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="http://www.lua.org/"
12 DEPENDS="pkg-config"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/usr/lib/pkgconfig $fs/usr/lib/lua/5.1
18 cp -a $install/usr/include $fs/usr
19 cp -a $install/usr/lib/lua/5.1/liblua.a $fs/usr/lib/lua/5.1
20 ln -s liblua.a $fs/usr/lib/lua/5.1/liblua5.1.a
21 cp -a $src/etc/lua.pc $fs/usr/lib/pkgconfig/lua5.1.pc
22 }