diff --git a/common/shlibs b/common/shlibs index 19db85f2f0..11b016e51e 100644 --- a/common/shlibs +++ b/common/shlibs @@ -966,3 +966,4 @@ libwapcaplet.so.0 libwapcaplet libwapcaplet-devel libcss.so.0 libcss libcss-devel libhubbub.so.0 libhubbub libhubbub-devel libdom.so.0 libdom libdom-devel +liblutok.so.0 lutok lutok-devel diff --git a/srcpkgs/lutok-devel b/srcpkgs/lutok-devel new file mode 120000 index 0000000000..fbb8d6e0b7 --- /dev/null +++ b/srcpkgs/lutok-devel @@ -0,0 +1 @@ +lutok \ No newline at end of file diff --git a/srcpkgs/lutok/lutok-devel.template b/srcpkgs/lutok/lutok-devel.template new file mode 100644 index 0000000000..5721315f51 --- /dev/null +++ b/srcpkgs/lutok/lutok-devel.template @@ -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 +} diff --git a/srcpkgs/lutok/lutok.rshlibs b/srcpkgs/lutok/lutok.rshlibs new file mode 100644 index 0000000000..8507ead6da --- /dev/null +++ b/srcpkgs/lutok/lutok.rshlibs @@ -0,0 +1,5 @@ +liblua.so +libstdc++.so.6 +libm.so.6 +libc.so.6 +libgcc_s.so.1 diff --git a/srcpkgs/lutok/template b/srcpkgs/lutok/template new file mode 100644 index 0000000000..a34a18c038 --- /dev/null +++ b/srcpkgs/lutok/template @@ -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 " +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