milis/talimatname/genel/tolua++/talimat

24 lines
506 B
Plaintext
Raw Normal View History

2017-04-19 14:03:16 +02:00
# Description: C / C ++ kodunu Lua ile bütünleştiren bir araç
2016-02-24 01:27:23 +01:00
# URL: http://www.codenix.com/~tolua
2017-04-19 14:03:16 +02:00
# Packager: milisarge
2016-02-24 01:27:23 +01:00
# 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
}