Files
main/science/misc/coin/actions.py
T
2018-09-16 14:41:37 +03:00

41 lines
1.4 KiB
Python

#!/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 get
def setup():
autotools.configure("--prefix=/usr \
--mandir=/usr/share/man \
--enable-optimization \
--enable-javascript-api \
--enable-threadsafe \
--enable-exceptions \
--enable-man \
--with-mesa \
--disable-debug \
--enable-shared \
--enable-html \
--disable-maintainer-mode \
--disable-dependency-tracking \
--enable-system-expat")
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "NEWS", "README*", "RELNOTES", "THANKS")
# remove conflict man file with openssl
pisitools.remove("/usr/share/man/man3/threads.3")
# remove conflict man file with libftdi-devel
pisitools.remove("/usr/share/man/man3/deprecated.3")