add coin Coin3D is a high-level 3D graphics toolkit

This commit is contained in:
groni
2016-03-08 16:09:42 +01:00
parent 81e43f85d7
commit 53a35ba0fd
12 changed files with 438 additions and 2 deletions
+40
View File
@@ -0,0 +1,40 @@
#!/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,--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")