Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1567 - (show annotations) (download)
Mon May 11 17:33:27 2009 UTC (15 years ago) by niro
File size: 1519 byte(s)
auto added: ver bump to 3.10.2-r1
1 # $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 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 mconfigure || die
62
63 # not parallel-make safe on x86_64
64 mmake -j1 OPT="${CFLAGS}" || die
65 }

Properties

Name Value
svn:keywords Id