Annotation of /trunk/extras/musicbrainz/musicbrainz-2.1.5-r7.smage2
Parent Directory | Revision Log
Revision 13548 -
(hide annotations)
(download)
Fri Oct 12 11:15:38 2012 UTC (11 years, 11 months ago) by niro
File size: 1019 byte(s)
Fri Oct 12 11:15:38 2012 UTC (11 years, 11 months ago) by niro
File size: 1019 byte(s)
-fixed dependencies
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 | niro | 13548 | DEPEND=">= virtual/glibc |
13 | >= dev-libs/expat-2.1 | ||
14 | >= sys-libs/libstdc++-4.7" | ||
15 | |||
16 | niro | 13547 | SDEPEND=">= sys-dev/autoconf-4 |
17 | >= sys-dev/automake-3 | ||
18 | niro | 13548 | >= virtual/sed" |
19 | niro | 13547 | |
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 | } |