New package: lutok-0.1.

This commit is contained in:
Juan RP 2012-03-07 10:12:02 +01:00
parent 945144f290
commit e7421af2ed
5 changed files with 46 additions and 0 deletions

View file

@ -966,3 +966,4 @@ libwapcaplet.so.0 libwapcaplet libwapcaplet-devel
libcss.so.0 libcss libcss-devel libcss.so.0 libcss libcss-devel
libhubbub.so.0 libhubbub libhubbub-devel libhubbub.so.0 libhubbub libhubbub-devel
libdom.so.0 libdom libdom-devel libdom.so.0 libdom libdom-devel
liblutok.so.0 lutok lutok-devel

1
srcpkgs/lutok-devel Symbolic link
View file

@ -0,0 +1 @@
lutok

View file

@ -0,0 +1,15 @@
# Template file for 'lutok-devel'.
#
short_desc="${short_desc} - development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run lutok
do_install() {
vmove usr/include usr
vmove "usr/lib/*.a" usr/lib
vmove usr/lib/pkgconfig usr/lib
vmove usr/share/doc usr/share
}

View file

@ -0,0 +1,5 @@
liblua.so
libstdc++.so.6
libm.so.6
libc.so.6
libgcc_s.so.1

24
srcpkgs/lutok/template Normal file
View file

@ -0,0 +1,24 @@
# Template file for 'lutok'
pkgname=lutok
version=0.1
homepage="http://code.google.com/p/lutok"
distfiles="https://lutok.googlecode.com/files/lutok-$version.tar.gz"
build_style=gnu-configure
configure_args="--with-doxygen"
short_desc="Lightweight C++ API for Lua"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
checksum=ee4226d84fb3032bb8e4c8fa2f5007e795df9656a408729a9a204b955b8d6527
long_desc="
Lutok provides thin C++ wrappers around the Lua C API to ease the interaction
between C++ and Lua. These wrappers make intensive use of RAII to prevent
resource leakage, expose C++-friendly data types, report errors by means of
exceptions and ensure that the Lua stack is always left untouched in the face
of errors. The library also provides a small subset of miscellaneous utility
functions built on top of the wrappers."
subpackages="lutok-devel"
Add_dependency build pkg-config
Add_dependency build doxygen
Add_dependency build lua-devel