Magellan Linux

Contents of /trunk/extras/cdrdao/cdrdao-1.2.2-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2966 - (show annotations) (download)
Thu Jul 16 15:21:54 2009 UTC (14 years, 10 months ago) by niro
File size: 1471 byte(s)
-moved to 'extras'
1 # $Header: /magellan-cvs/smage/cdrdao/cdrdao-1.2.2-r2.smage2,v 1.1 2008/02/12 08:20:28 niro Exp $
2
3 PNAME="cdrdao"
4 PVER="1.2.2"
5 PBUILD="r2"
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.95.1
14 >= media-libs/libao-0.8.6"
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 src_prepare()
27 {
28 munpack ${SRCFILE} || die
29 cd ${SRCDIR}
30
31 # add our vendor string
32 sed -i "s:^\(PACKAGE_STRING=\).*:\1'cdrdao ${PVER} Magellan-Linux':" configure || die
33
34 # display better SCSI messages (taken from gentoo)
35 cd ${SRCDIR}/scsilib/include
36 sed -i 's:HAVE_SCANSTACK:NO_FRIGGING_SCANSTACK:g' xmconfig.h || die
37 sed -i 's:HAVE_SCANSTACK:NO_FRIGGING_SCANSTACK:g' mconfig.h || die
38
39 # fix compilation with gcc4
40 cd ${SRCDIR}
41 sed -i 's:Toc.h":&\nclass Toc;:' trackdb/FormatConverter.h || die
42 sed -i 's:Toc.h":&\nclass Toc;:' trackdb/CueParser.cc || die
43 }
44
45 src_compile()
46 {
47 cd ${SRCDIR}
48
49 ./configure \
50 --build="${CHOST}" \
51 --host="${CHOST}" \
52 --prefix=/usr \
53 --disable-debug \
54 --without-gnome \
55 --without-xdao \
56 || die
57
58 mmake || die
59 }
60
61 src_install()
62 {
63 cd ${SRCDIR}
64
65 minstall || die
66 minstalldocs AUTHORS COPYING CREDITS ChangeLog NEWS README* || die
67 }

Properties

Name Value
svn:keywords Id