zsdt First release

This commit is contained in:
Rmys
2020-02-18 22:10:40 +03:00
parent 805002a62c
commit 7ba3b08a82
7 changed files with 271 additions and 48 deletions
+25
View File
@@ -0,0 +1,25 @@
#!/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 autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def build():
autotools.make()
autotools.make("zstdmt")
autotools.make("-C contrib/pzstd")
def check():
autotools.make("check")
autotools.make("-C contrib/pzstd test")
def install():
autotools.rawInstall("PREFIX=/usr DESTDIR=%s" % get.installDIR())
pisitools.dobin("zstdmt")
pisitools.dobin("contrib/pzstd/pzstd")
pisitools.dodoc("CONTRIBUTING*", "CHANGELOG*", "COPYING", "LICENSE", "README*")