Contents of /trunk/extras/cdrdao/cdrdao-1.2.4-r1.smage2
Parent Directory | Revision Log
Revision 30989 -
(show annotations)
(download)
Tue May 29 09:14:08 2018 UTC (6 years, 4 months ago) by niro
File size: 1568 byte(s)
Tue May 29 09:14:08 2018 UTC (6 years, 4 months ago) by niro
File size: 1568 byte(s)
-dropped stat patch
1 | # $Id$ |
2 | |
3 | PNAME="cdrdao" |
4 | PVER="1.2.4" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="app-cdr" |
8 | |
9 | DESCRIPTION="Cdrdao records audio or data CD-Rs in disk-at-once mode based on a textual description of the CD contents." |
10 | HOMEPAGE="http://cdrdao.sourceforge.net/" |
11 | |
12 | DEPEND=">= media-sound/lame-3.98 |
13 | >= media-libs/libao-0.8.8 |
14 | >= media-libs/libmad-0.15 |
15 | >= media-libs/libogg-1.3 |
16 | >= media-libs/libvorbis-1.3 |
17 | >= sys-libs/libstdc++-4.6" |
18 | |
19 | SDEPEND=">= app-cdr/cdrtools-2" |
20 | |
21 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
22 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
23 | |
24 | SRC_URI=( |
25 | sourceforge://${PNAME}/${SRCFILE} |
26 | mirror://${PNAME}/${SRCFILE} |
27 | ) |
28 | |
29 | UP2DATE="updatecmd_sourceforge ${PNAME}" |
30 | |
31 | src_prepare() |
32 | { |
33 | munpack ${SRCFILE} || die |
34 | cd ${SRCDIR} |
35 | |
36 | # add our vendor string |
37 | sed -i "s:^\(PACKAGE_STRING=\).*:\1'cdrdao ${PVER} Magellan-Linux':" configure || die |
38 | |
39 | # display better SCSI messages (taken from gentoo) |
40 | cd ${SRCDIR}/scsilib/include |
41 | sed -i 's:HAVE_SCANSTACK:NO_FRIGGING_SCANSTACK:g' xmconfig.h || die |
42 | sed -i 's:HAVE_SCANSTACK:NO_FRIGGING_SCANSTACK:g' mconfig.h || die |
43 | |
44 | # fix compilation with gcc4 |
45 | cd ${SRCDIR} |
46 | sed -i 's:Toc.h":&\nclass Toc;:' trackdb/FormatConverter.h || die |
47 | sed -i 's:Toc.h":&\nclass Toc;:' trackdb/CueParser.cc || die |
48 | } |
49 | |
50 | src_compile() |
51 | { |
52 | cd ${SRCDIR} |
53 | |
54 | ./configure \ |
55 | --build="${CHOST}" \ |
56 | --host="${CHOST}" \ |
57 | --prefix=/usr \ |
58 | --disable-debug \ |
59 | --without-gnome \ |
60 | --without-xdao \ |
61 | --with-lame \ |
62 | --with-ogg-support \ |
63 | --with-mp3-support \ |
64 | || die |
65 | |
66 | mmake || die |
67 | } |
68 | |
69 | src_install() |
70 | { |
71 | cd ${SRCDIR} |
72 | |
73 | minstall || die |
74 | minstalldocs AUTHORS COPYING CREDITS ChangeLog NEWS README* || die |
75 | } |