Contents of /smage/trunk/extras/flac/flac-1.2.1-r1.smage2
Parent Directory | Revision Log
Revision 4452 -
(show annotations)
(download)
Wed Mar 13 08:39:07 2013 UTC (11 years, 6 months ago) by niro
File size: 927 byte(s)
Wed Mar 13 08:39:07 2013 UTC (11 years, 6 months ago) by niro
File size: 927 byte(s)
auto added: ver bump to 1.2.1-r1
1 | # $Id$ |
2 | |
3 | PNAME="flac" |
4 | PVER="1.2.1" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="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 | >= sys-libs/libstdc++-4.6" |
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 | msetfeature "!check" |
24 | |
25 | SRC_URI=( |
26 | sourceforge://${PNAME}/${SRCFILE} |
27 | mirror://${PNAME}/${SRCFILE} |
28 | mirror://${PNAME}/${PNAME}-${PVER}-gcc43.patch |
29 | ) |
30 | |
31 | UP2SUBSTITUTE="flac-" |
32 | UP2DATE="updatecmd_sourceforge ${PNAME} ${PNAME}-src | sed 's:-src::'" |
33 | |
34 | src_prepare() |
35 | { |
36 | munpack ${SRCFILE} |
37 | |
38 | # fix compilation with gcc-4.3 |
39 | mpatch ${PNAME}-${PVER}-gcc43.patch || die |
40 | } |
41 | |
42 | src_compile() |
43 | { |
44 | mconfigure \ |
45 | --disable-static \ |
46 | --disable-rpath \ |
47 | --with-pic \ |
48 | --enable-ogg \ |
49 | --disable-xmms-plugin \ |
50 | --disable-thorough-tests \ |
51 | || die |
52 | |
53 | mmake || die |
54 | } |