libdca-0.0.7

This commit is contained in:
uglyside
2025-01-30 17:22:12 +03:00
parent cfbbbf3018
commit 1d77e4ed29
2 changed files with 16 additions and 14 deletions
+6 -10
View File
@@ -2,26 +2,22 @@
# -*- 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 get
def setup():
autotools.autoreconf("-fi")
autotools.configure("--enable-shared \
--disable-static")
autotools.autoreconf("-fiv")
autotools.configure("--enable-shared --disable-static")
def build():
autotools.make('OPT_CFLAGS=""')
autotools.make()
def install():
autotools.rawInstall('DESTDIR="%s"' % get.installDIR())
pisitools.remove("/usr/lib/*.a")
# FIXME: avidemux needs this
# pisitools.insinto("/usr/include","libdts/dca_internal.h")
pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README", "TODO", "doc/libdca.txt")
pisitools.remove("/usr/lib/libdts.a")
pisitools.dodoc("AUTHORS", "COPYING")