Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7161 - (hide annotations) (download)
Wed Sep 29 22:23:07 2010 UTC (13 years, 8 months ago) by niro
File size: 1039 byte(s)
auto added: ver bump to 2.1.5-r5
1 niro 7161 # $Id: musicbrainz-2.1.5-r4.smage2 3517 2009-10-22 22:59:52Z niro $
2    
3     PNAME="musicbrainz"
4     PVER="2.1.5"
5     PBUILD="r5"
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     mirror://${PNAME}/${PNAME}-${PVER}-gcc43.patch
27     )
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     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     src_compile()
42     {
43     cd ${SRCDIR}
44     mconfigure --enable-cpp-headers || die
45     mmake || die
46     }