pkgsrc/devel/tolua++/files/custom.py
imil ad7f9d5b62 Initial import of tolua++, version 1.0.93, into the NetBSD Packages Collection.
Tolua++ is an extended version of tolua, a tool to integrate C/C++ code
with Lua. tolua++ includes new features oriented to c++ such as:

* Support for std::string as a basic type (this can be turned off by a
  command line option).
* Support for class templates

As well as other features and bugfixes.

tolua is a tool that greatly simplifies the integration of C/C++ code with
Lua. Based on a cleaned header file (or extracts from real header files),
tolua automatically generates the binding code to access C/C++ features
from Lua. Using Lua API and tag method facilities, tolua maps C/C++
constants, external variables, functions, classes, and methods to Lua.
2012-05-08 09:34:17 +00:00

7 lines
200 B
Python

CCFLAGS = ['-I@PREFIX@/include', '-O2', '-ansi']
LIBPATH = ['@PREFIX@/lib']
LIBS = ['lua', 'm']
LINKFLAGS = ['-Wl,-rpath,@PREFIX@/lib']
tolua_bin = 'tolua++'
tolua_lib = 'tolua++'
TOLUAPP = 'tolua++'