libsamplerate.

This commit is contained in:
4fury-c3440d8
2022-01-18 14:31:45 +03:00
parent 850d855460
commit d9ea12e987
2 changed files with 23 additions and 13 deletions
+12 -9
View File
@@ -2,21 +2,24 @@
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import libtools
from pisi.actionsapi import get
j = ''.join([
' --enable-shared',
' --enable-sndfile',
' --disable-fftw',
' --disable-static',
' --disable-dependency-tracking',
' --with-pic '
])
def setup():
autotools.autoreconf("-fiv")
autotools.configure("--with-pic \
--enable-sndfile \
--disable-static \
--enable-shared \
--disable-fftw \
--disable-dependency-tracking")
autotools.configure(j)
# Remove RPATH
pisitools.dosed("libtool", "^hardcode_libdir_flag_spec=.*", "hardcode_libdir_flag_spec=\"\"")
@@ -28,4 +31,4 @@ def build():
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README")
pisitools.dodoc("AUTHORS", "NEWS")