Magellan Linux

Contents of /branches/magellan-next/core/flac/flac-1.2.1-r6.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8171 - (show annotations) (download)
Tue Jul 12 22:36:43 2011 UTC (12 years, 10 months ago) by niro
File size: 787 byte(s)
auto added: ver bump to 1.2.1-r6
1 # $Id$
2
3 PNAME="flac"
4 PVER="1.2.1"
5 PBUILD="r6"
6
7 PCATEGORIE="media-libs"
8
9 DESCRIPTION="FLAC - Free Lossless Audio Codec."
10 HOMEPAGE="http://flac.sourceforge.net/"
11
12 DEPEND=">= virtual/glibc
13 >= media-libs/libogg-1.2"
14
15 SDEPEND=">= dev-lang/nasm-2
16 >= sys-apps/gawk-3"
17
18 SRCFILE="${PNAME}-${PVER}.tar.gz"
19 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
20
21 sminclude mbuild multilib
22
23 SRC_URI=(
24 sourceforge://${PNAME}/${SRCFILE}
25 mirror://${PNAME}/${SRCFILE}
26 mirror://${PNAME}/${PNAME}-${PVER}-gcc43.patch
27 )
28
29 UP2SUBSTITUTE="flac-"
30 UP2DATE="updatecmd_sourceforge ${PNAME} ${PNAME}-src | sed 's:-src::'"
31
32 src_prepare()
33 {
34 munpack ${SRCFILE}
35
36 # fix compilation with gcc-4.3
37 mpatch ${PNAME}-${PVER}-gcc43.patch || die
38 }
39
40 src_compile()
41 {
42 mconfigure --enable-ogg --disable-xmms-plugin || die
43 mmake || die
44 }