p7zip-17.05

This commit is contained in:
4fury-c3440d8
2023-03-08 07:46:03 +03:00
parent 14329b6faa
commit 056a258714
2 changed files with 17 additions and 8 deletions
+6 -5
View File
@@ -11,9 +11,7 @@ from pisi.actionsapi import get
WorkDir = "p7zip-%s" % get.srcVERSION()
makefiles = {
'x86_64' : "makefile.linux_amd64_asm"
}
makefiles = { 'x86_64' : "makefile.linux_amd64_asm" }
def setup():
shelltools.copy(makefiles[get.ARCH()], "makefile.machine")
@@ -21,7 +19,10 @@ def setup():
def build():
autotools.make('OPTFLAGS="%s %s" 7z 7za 7zr sfx' % (get.CFLAGS(), get.CXXFLAGS()))
def check():
autotools.make("test")
autotools.make("test_7z")
autotools.make("test_7zr")
def install():
autotools.rawInstall("DEST_DIR=%s DEST_HOME=/usr DEST_MAN=/usr/share/man" % get.installDIR())
pisitools.dodoc("README.md")