Magellan Linux

Contents of /branches/R11-unstable/extras/musicbrainz/musicbrainz-2.1.5-r7.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32562 - (show annotations) (download)
Mon Apr 29 13:09:44 2019 UTC (5 years ago) by niro
File size: 1019 byte(s)
-release branches/R11-unstable
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 }