libsigc++3 new package

This commit is contained in:
Rmys
2021-07-25 13:17:14 +03:00
parent 29372063d6
commit 012f5c3931
7 changed files with 293121 additions and 292785 deletions
+34
View File
@@ -0,0 +1,34 @@
#!/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
def setup():
shelltools.system("sh ./autogen.sh")
# dont waste time building examples, docs and tests
#pisitools.dosed("Makefile.in", " tests examples docs")
autotools.configure("--disable-static")
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.removeDir("/usr/share/devhelp")
#move html docs to html doc dir
#pisitools.dodir("/usr/share/doc/%s/html" % get.srcNAME())
#pisitools.domove("/usr/share/doc/libsigc++-3.0/*", "/usr/share/doc/%s/html" % get.srcNAME())
#pisitools.removeDir("/usr/share/doc/libsigc++-3.0")
pisitools.dodoc("AUTHORS", "ChangeLog", "README*", "NEWS")