add deflate library.

This commit is contained in:
4fury-c3440d8
2023-02-08 21:43:51 +03:00
parent 3144128dda
commit 07d31d4819
2 changed files with 87 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import cmaketools, pisitools
i = ''.join([
' -DCMAKE_BUILD_TYPE=Release',
' -DLIBDEFLATE_USE_SHARED_LIB=ON',
' -DLIBDEFLATE_BUILD_STATIC_LIB=OFF',
' -B_build -L '
])
def setup():
cmaketools.configure(i)
def build():
cmaketools.make("-C _build")
def install():
cmaketools.install("-C _build")
pisitools.dodoc("NEWS.md")