From ae1b9ad086c5944c4e40072b20ded13ccfc6a06b Mon Sep 17 00:00:00 2001 From: Rmys Date: Sun, 1 Jan 2023 18:45:36 +0300 Subject: [PATCH] libtorrent-rasterbar --- network/p2p/libtorrent-rasterbar/actions.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/network/p2p/libtorrent-rasterbar/actions.py b/network/p2p/libtorrent-rasterbar/actions.py index 1f810cb774..a674e8befe 100644 --- a/network/p2p/libtorrent-rasterbar/actions.py +++ b/network/p2p/libtorrent-rasterbar/actions.py @@ -13,8 +13,7 @@ def setup(): pisitools.dosed("Makefile", "PREFIX=/usr/local/", "PREFIX=/usr") shelltools.system("mkdir build") shelltools.cd("build") - cmaketools.configure("-GNinja .. \ - -DCMAKE_SKIP_RPATH=TRUE \ + cmaketools.configure("-DCMAKE_SKIP_RPATH=TRUE \ -DCMAKE_CXX_STANDARD=17 \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ @@ -27,8 +26,8 @@ def setup(): def build(): shelltools.cd("build") - shelltools.system("ninja") - #cmaketools.make() + # shelltools.system("ninja") + cmaketools.make() #def check(): #cmaketools.make("test") @@ -36,8 +35,8 @@ def build(): def install(): shelltools.cd("build") - shelltools.system("DESTDIR=%s ninja install" % get.installDIR()) - #cmaketools.rawInstall("DESTDIR=%s ninja install" % get.installDIR()) + # shelltools.system("DESTDIR=%s ninja install" % get.installDIR()) + cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) shelltools.cd("..") pisitools.dohtml("docs/*")