metis:first pisi rel

This commit is contained in:
blue-devil
2020-05-27 00:03:34 +03:00
parent 5da30e891a
commit 8744725999
3 changed files with 88 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
# -*- 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 get
from pisi.actionsapi import pisitools
from pisi.actionsapi import cmaketools
def setup():
pisitools.cflags.add("-Wno-implicit-function-declaration -Wno-misleading-indentation -Wno-unused-but-set-variable")
cmaketools.make("config shared=1 prefix=/usr")
def build():
cmaketools.make()
def install():
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("LICENSE*")