Contents of /branches/magellan-next/core/libofa/libofa-0.9.3-r6.smage2
Parent Directory | Revision Log
Revision 7169 -
(show annotations)
(download)
Thu Sep 30 09:52:57 2010 UTC (13 years, 7 months ago) by niro
File size: 1047 byte(s)
Thu Sep 30 09:52:57 2010 UTC (13 years, 7 months ago) by niro
File size: 1047 byte(s)
auto added: ver bump to 0.9.3-r6
1 | # $Id: libofa-0.9.3-r5.smage2 3509 2009-10-22 22:41:58Z niro $ |
2 | |
3 | PNAME="libofa" |
4 | PVER="0.9.3" |
5 | PBUILD="r6" |
6 | |
7 | PCATEGORIE="media-libs" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="LibOFA (Library Open Fingerprint Architecture) is an open-source audio fingerprint created and provided by MusicIP." |
11 | HOMEPAGE="http://code.google.com/p/musicip-libofa/" |
12 | |
13 | DEPEND=">= dev-libs/expat-2 |
14 | >= sci-libs/fftw3-3.2 |
15 | >= net-misc/curl-7" |
16 | |
17 | SDEPEND=">= dev-util/pkgconfig-0.25" |
18 | |
19 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
20 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
21 | |
22 | sminclude mbuild |
23 | |
24 | SRC_URI=( |
25 | http://musicip-libofa.googlecode.com/files/${SRCFILE} |
26 | mirror://${PNAME}/${SRCFILE} |
27 | mirror://${PNAME}/${PNAME}-${PVER}-gcc4.patch |
28 | mirror://${PNAME}/${PNAME}-${PVER}-gcc43.patch |
29 | ) |
30 | |
31 | UP2DATE="updatecmd http://code.google.com/p/musicip-libofa/downloads/list | grep ${PNAME}- | lasttarball gz" |
32 | |
33 | src_prepare() |
34 | { |
35 | munpack ${SRCFILE} || die |
36 | cd ${SRCDIR} |
37 | |
38 | # fixes compilation with gcc4 |
39 | mpatch ${PNAME}-${PVER}-gcc4.patch || die |
40 | |
41 | # fixes compilation with gcc4.3 |
42 | mpatch ${PNAME}-${PVER}-gcc43.patch || die |
43 | } |