Magellan Linux

Contents of /trunk/extras/liblastfm/liblastfm-0.3.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4592 - (show annotations) (download)
Fri Dec 25 20:15:12 2009 UTC (14 years, 4 months ago) by niro
File size: 848 byte(s)
auto added: ver bump to 0.3.0-r1
1 # $Id$
2
3 PNAME="liblastfm"
4 PVER="0.3.0"
5 PBUILD="r1"
6
7 PCATEGORIE="media-libs"
8 STATE="unstable"
9
10 DESCRIPTION="A Qt C++ library for the Last.fm webservices."
11 HOMEPAGE="http://github.com/mxcl/liblastfm/"
12
13 DEPEND=">= x11-libs/qt4-core-4.5
14 >= media-libs/libsamplerate-0.1.4
15 >= sci-libs/fftw3-3.2.2"
16
17 SDEPEND=">= dev-lang/ruby-1.9"
18
19 SRCFILE="${PNAME}-${PVER}.tar.bz2"
20 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
21
22 sminclude mbuild
23
24 SRC_URI=(
25 http://cdn.last.fm/src/${SRCFILE}
26 mirror://${PNAME}/${SRCFILE}
27 )
28
29 UP2DATE="updatecmd_sourceforge ${PNAME/lib/} ${PNAME/lib/}-src - ${PNAME/lib/}"
30
31 src_prepare()
32 {
33 munpack ${SRCFILE} || die
34 cd ${SRCDIR}
35
36 # fix multilib pathes
37 find . -name *.pro -exec sed -i -e "/target.path/s/lib/$(mlibdir)/g" {} + || die
38 }
39
40 src_compile()
41 {
42 cd ${SRCDIR}
43
44 ./configure --prefix "/usr" --no-strip --release || die
45 mmake || die
46 }

Properties

Name Value
svn:keywords Id