libzip-1.5.1
This commit is contained in:
@@ -4,26 +4,20 @@
|
|||||||
# Licensed under the GNU General Public License, version 3.
|
# Licensed under the GNU General Public License, version 3.
|
||||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||||
|
|
||||||
from pisi.actionsapi import autotools
|
from pisi.actionsapi import cmaketools
|
||||||
from pisi.actionsapi import pisitools
|
from pisi.actionsapi import pisitools
|
||||||
from pisi.actionsapi import get
|
from pisi.actionsapi import get
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
# fix test return state
|
cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
#pisitools.dosed("regress/open_nonarchive.test", "19/2", "19/0")
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
autotools.autoreconf("-fi")
|
-DCMAKE_INSTALL_LIBDIR=lib")
|
||||||
autotools.configure()
|
|
||||||
|
|
||||||
def build():
|
def build():
|
||||||
autotools.make()
|
cmaketools.make()
|
||||||
|
|
||||||
def check():
|
|
||||||
autotools.make("check")
|
|
||||||
|
|
||||||
def install():
|
def install():
|
||||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||||
|
|
||||||
pisitools.dodoc("AUTHORS", "NEWS.md", "README.md")
|
pisitools.dodoc("AUTHORS*", "API*", "TODO*", "NEWS*", "LICENSE", "README*")
|
||||||
|
|
||||||
# preserve old header path for compatibility
|
|
||||||
#pisitools.dosym("/usr/lib/libzip/include/zipconf.h", "/usr/include/zipconf.h")
|
|
||||||
|
|||||||
Reference in New Issue
Block a user