gcompris:rebuild new. tol.

This commit is contained in:
Rmys
2018-10-09 16:30:06 +03:00
parent 36b0ca95a3
commit c6ab0b5fc3
2 changed files with 23 additions and 7 deletions
Regular → Executable
+6 -2
View File
@@ -10,8 +10,12 @@ from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
shelltools.system("sed -i 's|gstreamer-0.10|gstreamer-1.0|g' configure")
shelltools.system("sed -i 's|gstreamer-0.10|gstreamer-1.0|g' configure.ac")
shelltools.system("sed -i -e 's/$GNUCHESS/gcompris-gnuchess/' configure")
autotools.configure("--prefix=/usr")
shelltools.export("LDFLAGS", "%s -lgmodule-2.0" % get.LDFLAGS())
autotools.configure("--prefix=/usr --enable-py-build-only")
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
@@ -21,4 +25,4 @@ def build():
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "COPYING", "NEWS", "README", "INSTALL")
pisitools.dodoc("AUTHORS", "COPYING", "NEWS", "README", "INSTALL")