libvpx: version bump
This commit is contained in:
@@ -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")
|
||||
Reference in New Issue
Block a user