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