Contents of /branches/R11-stable/extras/musicbrainz/musicbrainz-2.1.5-r7.smage2
Parent Directory | Revision Log
Revision 15279 -
(show annotations)
(download)
Wed Jan 2 11:08:00 2013 UTC (11 years, 8 months ago) by niro
File size: 1019 byte(s)
Wed Jan 2 11:08:00 2013 UTC (11 years, 8 months ago) by niro
File size: 1019 byte(s)
-release branches/R11-stable
1 | # $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=">= virtual/glibc |
13 | >= dev-libs/expat-2.1 |
14 | >= sys-libs/libstdc++-4.7" |
15 | |
16 | SDEPEND=">= sys-dev/autoconf-4 |
17 | >= sys-dev/automake-3 |
18 | >= virtual/sed" |
19 | |
20 | SRCFILE="lib${PNAME}-${PVER}.tar.gz" |
21 | SRCDIR="${BUILDDIR}/lib${PNAME}-${PVER}" |
22 | |
23 | sminclude mbuild |
24 | |
25 | SRC_URI=( |
26 | ftp://ftp.musicbrainz.org/pub/${PNAME}/${SRCFILE} |
27 | mirror://${PNAME}/${SRCFILE} |
28 | mirror://${PNAME}/${PNAME}-${PVER}-gcc43.patch |
29 | ) |
30 | |
31 | # check for libmusicbrainz-2.x libs only |
32 | UP2DATE="updatecmd ftp://ftp.musicbrainz.org/pub/musicbrainz/ | grep lib${PNAME}-2.[0-9] | lasttarball gz" |
33 | |
34 | src_prepare() |
35 | { |
36 | munpack ${SRCFILE} || die |
37 | cd ${SRCDIR} |
38 | |
39 | # fixes compilation issues with gcc-4.3 |
40 | mpatch ${PNAME}-${PVER}-gcc43.patch || die |
41 | } |
42 | |
43 | src_compile() |
44 | { |
45 | cd ${SRCDIR} |
46 | mconfigure --enable-cpp-headers || die |
47 | mmake || die |
48 | } |