orc: version bump to 0.4.31

This commit is contained in:
suvari
2020-01-11 22:08:34 +03:00
parent cc3089f367
commit 7151a2a99a
3 changed files with 29 additions and 11 deletions
+18 -7
View File
@@ -1,19 +1,30 @@
#!/usr/bin/python
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import shelltools
from pisi.actionsapi import mesontools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
autotools.configure("--disable-static")
options = "--prefix=/usr \
"
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
if get.buildTYPE() == "emul32":
options += "--bindir=/usr/emul32 \
--libdir=lib32"
mesontools.configure(options)
def build():
autotools.make()
mesontools.build()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
mesontools.install()
if get.buildTYPE() == "emul32":
pisitools.removeDir("/usr/emul32")
return