Magellan Linux

Annotation of /branches/R11-unstable/extras/cdparanoia/cdparanoia-3.10.2-r6.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10353 - (hide annotations) (download)
Sat Jan 21 12:19:03 2012 UTC (12 years, 3 months ago) by niro
Original Path: trunk/core/cdparanoia/cdparanoia-3.10.2-r6.smage2
File size: 1127 byte(s)
-removed depracated cdda_header patch and removed CFLAG handlin. disabled src_check too, no target check in Makefile
1 niro 10353 # $Id$
2    
3     PNAME="cdparanoia"
4     PVER="3.10.2"
5     PBUILD="r6"
6    
7     PCAT="media-sound"
8    
9     DESCRIPTION="An advanced CDDA reader with error correction."
10     HOMEPAGE="http://www.xiph.org/paranoia/"
11    
12     DEPEND=">= virtual/glibc"
13    
14     SRCFILE="${PNAME}-III-${PVER#*.}.src.tgz"
15     SRCDIR="${BUILDDIR}/${PNAME}-III-${PVER#*.}"
16    
17     sminclude mbuild multilib
18     msetfeature "!check"
19    
20     SRC_URI=(
21     http://downloads.xiph.org/releases/${PNAME}/${SRCFILE}
22     mirror://${PNAME}/${SRCFILE}
23     mirror://${PNAME}/${PNAME}-${PVER}-Makefile.in.patch
24     mirror://${PNAME}/${PNAME}-${PVER}-use-destdir.patch
25     mirror://${PNAME}/${PNAME}-${PVER}-gcc43.patch
26     )
27    
28     UP2DATE="echo -n '3.';updatecmd 'http://downloads.xiph.org/releases/cdparanoia/?C=M;O=A' | sed 's:.src::' | lasttarball tgz"
29    
30     src_prepare()
31     {
32     munpack ${SRCFILE} || die
33    
34     # add destdir support
35     mpatch ${PNAME}-${PVER}-use-destdir.patch || die
36    
37     # build pic objects too
38     mpatch ${PNAME}-${PVER}-Makefile.in.patch || die
39    
40     # fix build issues with gcc-4.3
41     mpatch ${PNAME}-${PVER}-gcc43.patch || die
42    
43     mautoreconf || die
44     mlibtoolize || die
45     }
46    
47     src_compile()
48     {
49     mconfigure || die
50     # not parallel-make safe on x86_64
51     mmake -j1 || die
52     }