Contents of /trunk/core/flac/flac-1.2.1-r3.smage2
Parent Directory | Revision Log
Revision 951 -
(show annotations)
(download)
Sun Dec 28 22:33:53 2008 UTC (15 years, 9 months ago) by niro
File size: 886 byte(s)
Sun Dec 28 22:33:53 2008 UTC (15 years, 9 months ago) by niro
File size: 886 byte(s)
-added patch to fix compilation with gcc-4.3
1 | # $Header: /magellan-cvs/smage/flac/flac-1.2.1-r2.smage2,v 1.1 2008/04/03 17:29:14 niro Exp $ |
2 | |
3 | PNAME="flac" |
4 | PVER="1.2.1" |
5 | PBUILD="r3" |
6 | |
7 | PCATEGORIE="media-libs" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="FLAC - Free Lossless Audio Codec." |
11 | HOMEPAGE="http://flac.sourceforge.net/" |
12 | |
13 | DEPEND=">= virtual/glibc |
14 | >= media-libs/libogg-1.1" |
15 | |
16 | SDEPEND=">= dev-lang/nasm-2 |
17 | >= sys-apps/gawk-3" |
18 | |
19 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
20 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
21 | |
22 | sminclude mbuild multilib |
23 | |
24 | SRC_URI=( |
25 | sourceforge://${PNAME}/${SRCFILE} |
26 | mirror://${PNAME}/${SRCFILE} |
27 | mirror://${PNAME}/${PNAME}-${PVER}-gcc43.patch |
28 | ) |
29 | |
30 | UP2DATE="updatecmd_sourceforge ${PNAME} ${PNAME}-src | sed 's:${PNAME}-\(.*\)-src:\1:'" |
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 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |