Magellan Linux

Annotation of /trunk/core/musicbrainz/musicbrainz-2.1.5-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1620 - (hide annotations) (download)
Tue May 12 16:35:55 2009 UTC (15 years, 1 month ago) by niro
File size: 978 byte(s)
-gcc-4.3 fixes
1 niro 1615 # $Id$
2    
3     PNAME="musicbrainz"
4     PVER="2.1.5"
5     PBUILD="r3"
6    
7     PCATEGORIE="media-libs"
8     STATE="unstable"
9    
10     DESCRIPTION="The MusicBrainz Client Library provides low-level access to the MusicBrainz Server RDF interface and the TRM Signature Server."
11     HOMEPAGE="http://musicbrainz.org/"
12    
13     DEPEND=""
14     SDEPEND=">= sys-dev/autoconf-4
15     >= sys-dev/automake-3
16     >= sys-apps/sed-4"
17    
18     SRCFILE="lib${PNAME}-${PVER}.tar.gz"
19     SRCDIR="${BUILDDIR}/lib${PNAME}-${PVER}"
20    
21     sminclude mbuild
22    
23     SRC_URI=(
24     ftp://ftp.musicbrainz.org/pub/${PNAME}/${SRCFILE}
25     mirror://${PNAME}/${SRCFILE}
26 niro 1620 mirror://${PNAME}/${PNAME}-${PVER}-gcc43.patch
27 niro 1615 )
28    
29     # check for libmusicbrainz-2.x libs only
30     UP2DATE="updatecmd ftp://ftp.musicbrainz.org/pub/musicbrainz/ | grep lib${PNAME}-2.[0-9] | lasttarball gz"
31    
32 niro 1620 src_prepare()
33     {
34     munpack ${SRCFILE} || die
35     cd ${SRCDIR}
36    
37     # fixes compilation issues with gcc-4.3
38     mpatch ${PNAME}-${PVER}-gcc43.patch || die
39     }
40    
41 niro 1615 src_compile()
42     {
43     cd ${SRCDIR}
44     mconfigure --enable-cpp-headers || die
45     mmake || die
46     }

Properties

Name Value
svn:keywords Id