wok view lua-dev/receipt @ rev 8475

Fix libevent-dev by adding pkgconfig.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Feb 07 18:10:30 2011 +0000 (2011-02-07)
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 }