2012-03-07 09:12:02 +00:00
|
|
|
# Template file for 'lutok'
|
|
|
|
pkgname=lutok
|
2013-12-08 14:33:43 +00:00
|
|
|
version=0.4
|
2013-10-31 10:13:30 +00:00
|
|
|
revision=1
|
2012-03-07 09:12:02 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--with-doxygen"
|
2013-03-24 09:21:58 +00:00
|
|
|
hostmakedepends="pkg-config doxygen"
|
2013-10-31 10:13:30 +00:00
|
|
|
makedepends="lua-devel"
|
2012-03-07 09:12:02 +00:00
|
|
|
short_desc="Lightweight C++ API for Lua"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="BSD"
|
2012-06-05 12:31:40 +00:00
|
|
|
homepage="http://code.google.com/p/lutok"
|
|
|
|
distfiles="https://lutok.googlecode.com/files/lutok-$version.tar.gz"
|
2013-12-08 14:33:43 +00:00
|
|
|
checksum=2cec51efa0c8d65ace8b21eaa08384b77abc5087b46e785f78de1c21fb754cd5
|
2012-03-07 09:12:02 +00:00
|
|
|
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."
|
2013-04-13 08:15:49 +00:00
|
|
|
|
|
|
|
lutok-devel_package() {
|
2013-10-31 10:13:30 +00:00
|
|
|
depends="lua-devel lutok>=${version}_${revision}"
|
2013-10-10 09:09:07 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 08:15:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
2013-10-10 09:09:07 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 08:15:49 +00:00
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share/doc
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
lutok_package() {
|
|
|
|
pkg_install() {
|
2013-10-10 09:09:07 +00:00
|
|
|
vmove all
|
2013-04-13 08:15:49 +00:00
|
|
|
}
|
|
|
|
}
|