zstd add to repo

This commit is contained in:
Idris Kalp
2020-10-22 01:18:37 +03:00
parent 45ef9c17e1
commit 4cee88c27e
2 changed files with 89 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
#!/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
import os
from pisi.actionsapi import autotools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
shelltools.makedirs("bld")
shelltools.cd("bld")
shelltools.system("meson setup \
../build/meson \
--prefix=/usr \
-Dlegacy-level=7 \
-Dzlib=enabled \
-Dlzma=enabled \
-Dlz4=enabled \
")
def build():
shelltools.cd("bld")
shelltools.system("ninja")
def install():
shelltools.cd("bld")
shelltools.system("DESTDIR=%s ninja install" % get.installDIR())