milis/talimatname/genel/t/tolua++/talimat

24 lines
506 B
Plaintext

# Description: C / C ++ kodunu Lua ile bütünleştiren bir araç
# URL: http://www.codenix.com/~tolua
# Packager: milisarge
# Depends on: scons lua51
name=tolua++
version=1.0.93
release=1
source=(ftp://ftp.debian.org/debian/pool/main/t/$name/${name}_$version.orig.tar.bz2)
build() {
cd $name-$version
cat > config_linux.py << "EOF"
CCFLAGS = ['-I/usr/include/lua5.1', '-O2', '-ansi', '-Wall', '-fPIC']
prefix = '/usr'
LIBS = ['lua5.1', 'dl', 'm']
EOF
scons all
scons prefix=$PKG/usr install
}