speexdsp:First release
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/copyleft/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
options = "--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--disable-static"
|
||||
|
||||
if get.buildTYPE() == "emul32":
|
||||
# ogg only affects the executables so it's safe to disable for emul32
|
||||
options += " --libdir=/usr/lib32"
|
||||
shelltools.export("CFLAGS", "%s -m32" % get.CFLAGS())
|
||||
|
||||
autotools.autoreconf("-vi")
|
||||
autotools.configure(options)
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def check():
|
||||
autotools.make("check")
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "README*")
|
||||
Reference in New Issue
Block a user