new package: zita-convolver

This commit is contained in:
suvari
2023-06-25 12:29:16 +03:00
parent 4fc7da8ee0
commit 5f0a9b3dc8
4 changed files with 118 additions and 0 deletions
@@ -0,0 +1,28 @@
#!/usr/bin/python
#!/usr/bin/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 get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
WorkDir = "zita-convolver-%s" % get.srcVERSION()
def setup():
shelltools.system("sed -e '/native/d; s/ldconfig/& -N $(DESTDIR)\/$(LIBDIR)/' -i source/Makefile")
# autotools.configure()
def build():
autotools.make("-C source")
#def check():
#autotools.make("check")
def install():
autotools.rawInstall("-C source DESTDIR=%s PREFIX=/usr LIBDIR=/usr/lib" % get.installDIR())
pisitools.dodoc("COPYING", "README")