Magellan Linux

Contents of /trunk/extras/libmpeg2/libmpeg2-0.5.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


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

Properties

Name Value
svn:keywords Id