Contents of /trunk/extras/liblastfm/liblastfm-0.3.0-r2.smage2
Parent Directory | Revision Log
Revision 4821 -
(show annotations)
(download)
Wed Feb 10 22:03:27 2010 UTC (14 years, 7 months ago) by niro
File size: 1014 byte(s)
Wed Feb 10 22:03:27 2010 UTC (14 years, 7 months ago) by niro
File size: 1014 byte(s)
auto added: ver bump to 0.3.0-r2
1 | # $Id$ |
2 | |
3 | PNAME="liblastfm" |
4 | PVER="0.3.0" |
5 | PBUILD="r2" |
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.6 |
14 | >= media-libs/libsamplerate-0.1.7 |
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 qt4 |
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 | # fix qmake |
40 | sed -i "s:qmake-qt4:${QMAKE}:g" admin/which_qmake.rb || die |
41 | |
42 | # fix ruby-1.9; do not require ftools |
43 | sed -i "s/require 'ftools'//g" admin/* || die |
44 | } |
45 | |
46 | src_compile() |
47 | { |
48 | cd ${SRCDIR} |
49 | |
50 | ./configure --prefix "/usr" --no-strip --release || die |
51 | mmake || die |
52 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |