Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1566 - (hide annotations) (download)
Mon May 11 17:30:04 2009 UTC (15 years, 1 month ago) by niro
File size: 1393 byte(s)
auto added: ver bump to 3.10.2-r1
1 niro 1565 # $Id$
2    
3     PNAME="cdparanoia"
4     PVER="3.10.2"
5     PBUILD="r1"
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     )
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     cd ${SRCDIR}
34    
35     # fix missing includes
36     mpatch ${PNAME}-${PVER}-include-cdda_interface_h.patch || die
37    
38     # add destdir support
39     mpatch ${PNAME}-${PVER}-use-destdir.patch || die
40    
41     # build pic objects too
42     mpatch ${PNAME}-${PVER}-Makefile.in.patch || die
43    
44     # support more targets
45     ln -s configure.guess config.guess || die
46     ln -s configure.sub config.sub || die
47     gnuconfig-update || die
48     rm config.{guess,sub} || die
49 niro 1566
50     autoreconf --install --force --verbose || die
51     mlibtoolize || die
52 niro 1565 }
53    
54     src_compile()
55     {
56     cd ${SRCDIR}
57     mconfigure || die
58    
59     # not parallel-make safe on x86_64
60     mmake -j1 OPT="${CFLAGS}" || die
61     }

Properties

Name Value
svn:keywords Id