Magellan Linux

Contents of /trunk/extras/libvpx/libvpx-1.3.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 22272 - (show annotations) (download)
Thu Sep 18 07:41:20 2014 UTC (9 years, 8 months ago) by niro
File size: 860 byte(s)
-no check target in Makefile
1 # $Id$
2
3 PNAME="libvpx"
4 PVER="1.3.0"
5 PBUILD="r1"
6
7 PCAT="media-libs"
8
9 DESCRIPTION="WebM VP8 Codec SDK."
10 HOMEPAGE="http://www.webmproject.org/"
11
12 DEPEND=">= virtual/glibc"
13 SDEPEND=">= dev-lang/yasm-1.3"
14
15 SRCFILE="${PNAME}-v${PVER}.tar.bz2"
16 SRCDIR="${BUILDDIR}/${PNAME}-v${PVER}"
17
18 sminclude mbuild multilib
19 msetfeature "!check" # no check target in Makefile
20
21 SRC_URI=(
22 http://webm.googlecode.com/files/${SRCFILE}
23 mirror://${PNAME}/${SRCFILE}
24 )
25
26 UP2DATE="updatecmd 'http://downloads.xiph.org/releases/${PNAME/lib/}/?C=M;O=A' | lasttarball gz"
27
28 src_compile()
29 {
30 # non standard configure
31 all-abis ./configure \
32 --prefix=/usr \
33 --libdir=/usr/'$(mlibdir)' \
34 --enable-shared \
35 --enable-vp8 \
36 --enable-vp9 \
37 --enable-runtime-cpu-detect \
38 --enable-postproc \
39 --enable-pic \
40 --disable-install-docs \
41 --disable-install-srcs \
42 || die
43
44 mmake || die
45 }