libvpx: version bump

This commit is contained in:
namso-01
2015-07-16 02:19:47 +03:00
parent 63c0ca74f6
commit 9409aa9c62
3 changed files with 142 additions and 0 deletions
+40
View File
@@ -0,0 +1,40 @@
#!/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
#WorkDir = "libvpx"
# libdir = "lib64" if get.ARCH() == "x86_64" else "lib"
libdir = "lib"
def setup():
shelltools.export("LC_ALL", "en_US.UTF-8")
shelltools.export("CFLAGS", get.CFLAGS().replace("-ggdb3", ""))
autotools.rawConfigure("--prefix=/usr \
--libdir=/usr/%s \
--enable-pic \
--enable-vp8 \
--enable-shared \
--enable-runtime-cpu-detect \
--enable-postproc \
--enable-multithread \
--disable-install-docs \
--disable-debug \
--disable-debug-libs" % libdir)
def build():
autotools.make("verbose=true")
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.remove("/usr/%s/*.a" % libdir)
pisitools.dodoc("AUTHORS", "CHANGELOG", "LICENSE", "PATENTS")