notify-python:rebuilt

This commit is contained in:
blue-devil
2020-01-18 00:11:13 +03:00
parent 3c47820d0b
commit 8b5802917a
3 changed files with 16 additions and 6 deletions
@@ -12,14 +12,15 @@ from pisi.actionsapi import get
def setup():
# Remove .c file to be regenerated from .defs file
shelltools.unlink("src/pynotify.c")
# suppress c compiler warnings
pisitools.cflags.add("-Wno-deprecated-declarations -Wno-implicit-function-declaration")
autotools.autoreconf("-fi")
autotools.configure()
# fix unused direct dependency analysis
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
autotools.rawInstall("DESTDIR=%s" % get.installDIR())