Magellan Linux

Contents of /branches/R11-unstable/extras/libmpeg2/libmpeg2-0.5.1-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 25545 - (show annotations) (download)
Tue Nov 25 03:54:48 2014 UTC (9 years, 5 months ago) by niro
File size: 797 byte(s)
-release branches/R11-unstable
1 # $Id$
2
3 PNAME="libmpeg2"
4 PVER="0.5.1"
5 PBUILD="r2"
6
7 PCAT="media-libs"
8
9 DESCRIPTION="The MPEG Library - version 2."
10 HOMEPAGE="http://libmpeg2.sourceforge.net/"
11
12 DEPEND=">= media-libs/libsdl-1.2
13 >= x11-libs/libXv-1
14 >= x11-libs/libICE-1
15 >= x11-libs/libSM-1
16 >= x11-libs/libXt-1"
17
18 SDEPEND=">= x11-proto/xextproto-7"
19
20 SRCFILE="${PNAME}-${PVER}.tar.gz"
21 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
22
23 sminclude mbuild mtools
24
25 SRC_URI=(
26 http://libmpeg2.sourceforge.net/files/${SRCFILE}
27 mirror://${PNAME}/${SRCFILE}
28 )
29
30 UP2DATE="updatecmd ${HOMEPAGE}/downloads.html | firsttarball gz"
31
32 src_compile()
33 {
34 cd ${SRCDIR}
35
36 mconfigure \
37 --disable-dependency-tracking \
38 --enable-shared \
39 --enable-sdl \
40 --with-x \
41 || die
42
43 mmake OPT_CFLAGS="${CFLAGS}" MPEG2DEC_CFLAGS="${CFLAGS}" LIBMPEG2_CFLAGS="" || die
44 }