Date: Monday, December 2, 2013 @ 12:23:33 Author: svenstaro Revision: 101854
Moving tolua++ from AUR as a new dependency of cegui Added: tolua++/ tolua++/repos/ tolua++/trunk/ tolua++/trunk/PKGBUILD tolua++/trunk/config_linux.py -----------------+ PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ config_linux.py | 22 ++++++++++++++++++++++ 2 files changed, 57 insertions(+) Added: tolua++/trunk/PKGBUILD =================================================================== --- tolua++/trunk/PKGBUILD (rev 0) +++ tolua++/trunk/PKGBUILD 2013-12-02 11:23:33 UTC (rev 101854) @@ -0,0 +1,35 @@ +# Maintainer: Sven-Hendrik Haase <[email protected]> +# Contributor: Chirantan Ekbote <ekbotec at chromium.org> +# Contributer: Doug Newgard <scimmia22 at outlook dot com> +# Contributer: Stéphane Gaudreault <[email protected]> + +pkgname=tolua++ +pkgver=1.0.93 +pkgrel=1 +pkgdesc="Tool to integrate C/C++ code with Lua" +arch=('i686' 'x86_64') +url="http://www.codenix.com/~tolua" +license=('MIT') +depends=('lua51') +makedepends=('scons') +options=('staticlibs') +source=(http://www.codenix.com/~tolua/${pkgname}-${pkgver}.tar.bz2 + config_linux.py) +md5sums=('100aa6907b8108582080b37d79c0afd7' + '69ad5067084cec2924f172bb04700da6') +provides=('toluapp') + +build() { + cd ${pkgname}-${pkgver} + cp ../config_linux.py "${srcdir}"/${pkgname}-${pkgver} + + scons all +} + +package() { + cd ${pkgname}-${pkgver} + scons prefix="${pkgdir}/usr" install + + # install license files + install -Dm644 "$srcdir/${pkgname}-${pkgver}/COPYRIGHT" "$pkgdir/usr/share/licenses/$pkgname/COPYRIGHT" +} Added: tolua++/trunk/config_linux.py =================================================================== --- tolua++/trunk/config_linux.py (rev 0) +++ tolua++/trunk/config_linux.py 2013-12-02 11:23:33 UTC (rev 101854) @@ -0,0 +1,22 @@ +## This is the linux configuration file +# This file was adapted to be used with ArchLinux +# Use 'scons -h' to see the list of command line options available + +# Compiler flags (based on ArchLinux's installation of lua) +#LINKFLAGS = ['-g'] +CCFLAGS = ['-I/usr/include/lua5.1', '-O2', '-ansi', '-Wall', '-fPIC'] +#CCFLAGS = ['-g'] + +# this is the default directory for installation. Files will be installed on +# <prefix>/bin, <prefix>/lib and <prefix>/include when you run 'scons install' +# +# You can also specify this directory on the command line with the 'prefix' +# option +# +# You can see more 'generic' options for POSIX systems on config_posix.py + +prefix = '/usr' + +# libraries (based on ArchLinux's installation of lua) +LIBS = ['lua5.1', 'dl', 'm'] + Property changes on: tolua++/trunk/config_linux.py ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property
