sane-frontends rebuild

This commit is contained in:
Rmys
2026-02-10 10:15:35 +03:00
parent bba952d243
commit ffa351d5df
3 changed files with 60 additions and 2 deletions
+7 -1
View File
@@ -6,13 +6,19 @@
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
WorkDir="sane-frontends-%s" % get.srcVERSION()
def setup():
pisitools.cflags.add("-std=gnu11")
shelltools.system("sed -i 's/isfdtype(fileno(stderr), S_IFSOCK)/0/' sanei/sanei_init_debug.c")
autotools.configure("--with-gnu-ld")
def build():
autotools.make()
shelltools.system("make")
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())