Annotation of /trunk/core/cdparanoia/cdparanoia-3.9.8-r7.smage2
Parent Directory
|
Revision Log
Revision 1543 -
(hide annotations)
(download)
Sun May 10 22:48:54 2009 UTC (15 years, 1 month ago) by niro
File size: 2419 byte(s)
Sun May 10 22:48:54 2009 UTC (15 years, 1 month ago) by niro
File size: 2419 byte(s)
-moved to 'core'
1 | niro | 2 | # $Header: /magellan-cvs/smage/cdparanoia/cdparanoia-3.9.8-r7.smage2,v 1.1 2008/02/15 23:51:17 niro Exp $ |
2 | |||
3 | PNAME="cdparanoia" | ||
4 | PVER="3.9.8" | ||
5 | PBUILD="r7" | ||
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-alpha9.8.src.tgz" | ||
16 | SRCDIR="${BUILDDIR}/${PNAME}-III-alpha9.8" | ||
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}-includes.patch | ||
24 | mirror://${PNAME}/${PNAME}-${PVER}-use-destdir.patch | ||
25 | mirror://${PNAME}/${PNAME}-${PVER}-sgio.patch | ||
26 | mirror://${PNAME}/${PNAME}-${PVER}-sgio-labels.patch | ||
27 | mirror://${PNAME}/${PNAME}-${PVER}-sgio-O_EXCL.patch | ||
28 | mirror://${PNAME}/${PNAME}-${PVER}-sgio-cflags.patch | ||
29 | mirror://${PNAME}/${PNAME}-${PVER}-sgio-verbose.patch | ||
30 | mirror://${PNAME}/${PNAME}-${PVER}-sgio-louder.patch | ||
31 | mirror://${PNAME}/${PNAME}-${PVER}-sgio-verbosity3.patch | ||
32 | mirror://${PNAME}/${PNAME}-${PVER}-sgio-env.patch | ||
33 | mirror://${PNAME}/${PNAME}-${PVER}-sgio-smalldma.patch | ||
34 | mirror://${PNAME}/${PNAME}-${PVER}-sgio-lm.patch | ||
35 | mirror://${PNAME}/${PNAME}-${PVER}-sgio-O_EXCL.EBUSY.patch | ||
36 | ) | ||
37 | |||
38 | src_prepare() | ||
39 | { | ||
40 | munpack ${SRCFILE} || die | ||
41 | cd ${SRCDIR} | ||
42 | |||
43 | # fix missing includes | ||
44 | mpatch ${PNAME}-${PVER}-includes.patch || die | ||
45 | |||
46 | # add destdir support | ||
47 | mpatch ${PNAME}-${PVER}-use-destdir.patch || die | ||
48 | |||
49 | # redhats sgio patches (needs at last linux-2.6.15) | ||
50 | # includes also the gcc34-compile fix | ||
51 | # see http://bugs.gentoo.org/show_bug.cgi?id=118189 | ||
52 | mpatch ${PNAME}-${PVER}-sgio.patch || die | ||
53 | mpatch ${PNAME}-${PVER}-sgio-labels.patch || die | ||
54 | mpatch ${PNAME}-${PVER}-sgio-O_EXCL.patch || die | ||
55 | mpatch ${PNAME}-${PVER}-sgio-cflags.patch || die | ||
56 | mpatch ${PNAME}-${PVER}-sgio-verbose.patch || die | ||
57 | mpatch ${PNAME}-${PVER}-sgio-louder.patch || die | ||
58 | mpatch ${PNAME}-${PVER}-sgio-verbosity3.patch || die | ||
59 | mpatch ${PNAME}-${PVER}-sgio-env.patch || die | ||
60 | mpatch ${PNAME}-${PVER}-sgio-smalldma.patch || die | ||
61 | mpatch ${PNAME}-${PVER}-sgio-lm.patch || die | ||
62 | mpatch ${PNAME}-${PVER}-sgio-O_EXCL.EBUSY.patch || die | ||
63 | |||
64 | # support more targets | ||
65 | ln -s configure.guess config.guess || die | ||
66 | ln -s configure.sub config.sub || die | ||
67 | gnuconfig-update || die | ||
68 | rm config.{guess,sub} || die | ||
69 | } | ||
70 | |||
71 | src_compile() | ||
72 | { | ||
73 | cd ${SRCDIR} | ||
74 | mconfigure || die | ||
75 | |||
76 | # not parallel-make safe on x86_64 | ||
77 | mmake -j1 OPT="${CFLAGS}" || die | ||
78 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |