Annotation of /branches/R11-stable/extras/musicbrainz/musicbrainz-2.1.5-r7.smage2
Parent Directory | Revision Log
Revision 13547 -
(hide annotations)
(download)
Fri Oct 12 11:12:13 2012 UTC (11 years, 11 months ago) by niro
Original Path: trunk/extras/musicbrainz/musicbrainz-2.1.5-r7.smage2
File size: 955 byte(s)
Fri Oct 12 11:12:13 2012 UTC (11 years, 11 months ago) by niro
Original Path: trunk/extras/musicbrainz/musicbrainz-2.1.5-r7.smage2
File size: 955 byte(s)
auto added: ver bump to 2.1.5-r7
1 | niro | 13547 | # $Id$ |
2 | |||
3 | PNAME="musicbrainz" | ||
4 | PVER="2.1.5" | ||
5 | PBUILD="r7" | ||
6 | |||
7 | PCAT="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 | } |