Contents of /branches/R11-stable/extras/libfame/libfame-0.9.1-r11.smage2
Parent Directory | Revision Log
Revision 15205 -
(show annotations)
(download)
Wed Jan 2 10:57:19 2013 UTC (11 years, 8 months ago) by niro
File size: 910 byte(s)
Wed Jan 2 10:57:19 2013 UTC (11 years, 8 months ago) by niro
File size: 910 byte(s)
-release branches/R11-stable
1 | # $Id$ |
2 | |
3 | PNAME="libfame" |
4 | PVER="0.9.1" |
5 | PBUILD="r11" |
6 | |
7 | PCAT="media-libs" |
8 | |
9 | DESCRIPTION="libfame is a MPEG-1 and MPEG-4 video encoding library." |
10 | HOMEPAGE="http://fame.sourceforge.net/" |
11 | |
12 | DEPEND=">= virtual/glibc" |
13 | |
14 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
15 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
16 | |
17 | sminclude mbuild gnuconfig mtools |
18 | |
19 | SRC_URI=( |
20 | sourceforge://fame/${SRCFILE} |
21 | mirror://${PNAME}/${SRCFILE} |
22 | mirror://${PNAME}/${PNAME}-${PVER}-gcc34.patch |
23 | mirror://${PNAME}/${PNAME}-${PVER}-m4-underquoted-2.patch |
24 | mirror://${PNAME}/${PNAME}-${PVER}-pic.patch |
25 | ) |
26 | |
27 | UP2DATE="updatecmd_sourceforge fame ${PNAME}" |
28 | |
29 | src_prepare() |
30 | { |
31 | munpack ${SRCFILE} || die |
32 | cd ${SRCDIR} |
33 | |
34 | # fixes gcc34 compilation |
35 | mpatch ${PNAME}-${PVER}-gcc34.patch || die |
36 | |
37 | # fixes m4 warnings |
38 | mpatch ${PNAME}-${PVER}-m4-underquoted-2.patch || die |
39 | |
40 | # fixes pic issues |
41 | mpatch ${PNAME}-${PVER}-pic.patch || die |
42 | |
43 | # support more targets |
44 | gnuconfig-update || die |
45 | } |