audiofile ported from pisi 1.2

This commit is contained in:
groni
2015-10-19 15:32:41 +02:00
parent da97dc8282
commit 37ea759d9f
3 changed files with 131 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
#!/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 autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
# Don't build examples
pisitools.dosed("Makefile.am", "^(SRC_SUBDIRS.*?) examples", r"\1")
autotools.autoreconf("-vfi")
autotools.configure("--disable-static \
--disable-werror \
--enable-largefile")
def build():
autotools.make()
def check():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "ChangeLog", "README", "TODO", "NEWS")