Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4595 - (hide annotations) (download)
Fri Dec 25 20:19:49 2009 UTC (14 years, 5 months ago) by niro
File size: 924 byte(s)
-fixed qmake
1 niro 4592 # $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 niro 4593 sminclude mbuild qt4
23 niro 4592
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 niro 4594
39     # fix qmake
40 niro 4595 sed "s:qmake-qt4:${QMAKE}:g" admin/which_qmake.rb || die
41 niro 4592 }
42    
43     src_compile()
44     {
45     cd ${SRCDIR}
46    
47     ./configure --prefix "/usr" --no-strip --release || die
48     mmake || die
49     }

Properties

Name Value
svn:keywords Id