40 lines
1.2 KiB
Plaintext
40 lines
1.2 KiB
Plaintext
# Template file for 'lutok'
|
|
pkgname=lutok
|
|
version=0.2
|
|
revision=4
|
|
build_style=gnu-configure
|
|
configure_args="--with-doxygen"
|
|
hostmakedepends="pkg-config doxygen"
|
|
makedepends="lua51-devel"
|
|
short_desc="Lightweight C++ API for Lua"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="BSD"
|
|
homepage="http://code.google.com/p/lutok"
|
|
distfiles="https://lutok.googlecode.com/files/lutok-$version.tar.gz"
|
|
checksum=df6f175fdd417ff830ec46509816a40b92fec816de726e815b4ae4f7fea405bd
|
|
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."
|
|
|
|
lutok-devel_package() {
|
|
depends="lua51-devel lutok>=$version"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/share/doc
|
|
}
|
|
}
|
|
|
|
lutok_package() {
|
|
pkg_install() {
|
|
vmove all
|
|
}
|
|
}
|