qpdf ver. bump

This commit is contained in:
Rmys
2022-11-21 16:48:43 +03:00
committed by GitHub
parent b0ae25e77e
commit 0a3c4f61ca
2 changed files with 27 additions and 9 deletions
+11 -8
View File
@@ -3,20 +3,23 @@
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import get
from pisi.actionsapi import autotools
from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
autotools.configure("--disable-static")
shelltools.system("mkdir build")
shelltools.cd("build")
cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_STATIC_LIBS=OFF", sourceDir="..")
def build():
autotools.make()
def check():
autotools.make("check")
cmaketools.make("-C build")
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
shelltools.cd("build")
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
shelltools.cd("..")
pisitools.dodoc("Artistic-2.0", "ChangeLog", "README*", "TODO")