rinutils:first pisi release, dep for freecellsolver

This commit is contained in:
blue-devil
2020-01-14 21:19:06 +00:00
parent 876b5bd812
commit cf42f02af1
3 changed files with 92 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import cmaketools
from pisi.actionsapi import shelltools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
shelltools.makedirs("build")
shelltools.cd("build")
cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
-DWITH_TEST_SUITE=OFF \
-DBUILD_STATIC_LIBRARY=OFF", sourceDir="..")
def build():
shelltools.cd("build")
cmaketools.make()
def install():
shelltools.cd("build")
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
shelltools.cd("..")
pisitools.dodoc("LICENSE", "README*")