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

24 lines
499 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: 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-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: scons lua51
2016-02-24 01:27:23 +01:00
name=tolua++
version=1.0.93
release=1
source=(ftp://ftp.debian.org/debian/pool/main/t/$name/${name}_$version.orig.tar.bz2)
2017-10-27 23:59:41 +02:00
derle() {
2016-02-24 01:27:23 +01:00
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
}