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

24 lines
491 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: C / C ++ kodunu Lua ile bütünleştiren bir araç
# URL: http://www.codenix.com/~tolua
# Paketçi: milisarge
# Gerekler: scons lua51
isim=tolua++
surum=1.0.93
devir=1
kaynak=(ftp://ftp.debian.org/debian/pool/main/t/$isim/${isim}_$surum.orig.tar.bz2)
derle() {
cd $isim-$surum
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
}