Magellan Linux

Annotation of /branches/magellan-next/core/musicbrainz/musicbrainz-2.1.5-r6.smage2

Parent Directory Parent Directory | Revision Log Revision Log


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