Magellan Linux

Annotation of /trunk/core/cdparanoia/cdparanoia-3.10.2-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3575 - (hide annotations) (download)
Mon Oct 26 15:38:19 2009 UTC (14 years, 8 months ago) by niro
File size: 1625 byte(s)
auto added: ver bump to 3.10.2-r2
1 niro 3575 # $Id$
2    
3     PNAME="cdparanoia"
4     PVER="3.10.2"
5     PBUILD="r2"
6    
7     PCATEGORIE="media-sound"
8     STATE="unstable"
9    
10     DESCRIPTION="An advanced CDDA reader with error correction."
11     HOMEPAGE="http://www.xiph.org/paranoia/"
12    
13     DEPEND=">= virtual/glibc"
14    
15     SRCFILE="${PNAME}-III-${PVER#*.}.src.tgz"
16     SRCDIR="${BUILDDIR}/${PNAME}-III-${PVER#*.}"
17    
18     sminclude gnuconfig mbuild
19    
20     SRC_URI=(
21     http://downloads.xiph.org/releases/${PNAME}/${SRCFILE}
22     mirror://${PNAME}/${SRCFILE}
23     mirror://${PNAME}/${PNAME}-${PVER}-include-cdda_interface_h.patch
24     mirror://${PNAME}/${PNAME}-${PVER}-Makefile.in.patch
25     mirror://${PNAME}/${PNAME}-${PVER}-use-destdir.patch
26     mirror://${PNAME}/${PNAME}-${PVER}-gcc43.patch
27     )
28    
29     UP2DATE="echo -n '3.';updatecmd 'http://downloads.xiph.org/releases/cdparanoia/?C=M;O=A' | sed 's:.src::' | lasttarball tgz"
30    
31     src_prepare()
32     {
33     munpack ${SRCFILE} || die
34     cd ${SRCDIR}
35    
36     # fix missing includes
37     mpatch ${PNAME}-${PVER}-include-cdda_interface_h.patch || die
38    
39     # add destdir support
40     mpatch ${PNAME}-${PVER}-use-destdir.patch || die
41    
42     # build pic objects too
43     mpatch ${PNAME}-${PVER}-Makefile.in.patch || die
44    
45     # fix build issues with gcc-4.3
46     mpatch ${PNAME}-${PVER}-gcc43.patch || die
47    
48     # support more targets
49     ln -s configure.guess config.guess || die
50     ln -s configure.sub config.sub || die
51     gnuconfig-update || die
52     rm config.{guess,sub} || die
53    
54     autoreconf --install --force --verbose || die
55     mlibtoolize || die
56     }
57    
58     src_compile()
59     {
60     cd ${SRCDIR}
61    
62     # needed to include the cdda_interface.h we patched in
63     export CFLAGS="${CFLAGS} -I${SRCDIR}/interface"
64     mconfigure || die
65    
66     # not parallel-make safe on x86_64
67     mmake -j1 OPT="${CFLAGS}" || die
68     }

Properties

Name Value
svn:keywords Id