change folder name

This commit is contained in:
groni
2016-11-24 12:59:03 +01:00
parent 29d5c7fa6e
commit 457b01f1e9
3 changed files with 7 additions and 0 deletions
+39
View File
@@ -0,0 +1,39 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
WorkDir = "SDL_ttf-2.0.11"
def setup():
options = "--disable-dependency-tracking \
--disable-static \
--with-x"
if get.buildTYPE() == "emul32":
#options += " --prefix=/emul32 \
options += " --includedir=/usr/include \
--libdir=/usr/lib32"
shelltools.export("PKG_CONFIG_PATH", "/usr/lib32/pkgconfig")
shelltools.export("CFLAGS", "%s -m32" % get.CFLAGS())
shelltools.export("CXXFLAGS", "%s -m32" % get.CXXFLAGS())
shelltools.export("LDFLAGS", "%s -m32" % get.LDFLAGS())
autotools.configure(options)
def build():
pisitools.dosed("Makefile", "-lz -lbz2", "")
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("CHANGES", "COPYING", "README")