Magellan Linux

Contents of /trunk/extras/herqq/herqq-1.0.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 11109 - (show annotations) (download)
Fri Feb 17 13:24:49 2012 UTC (12 years, 3 months ago) by niro
File size: 862 byte(s)
auto added: ver bump to 1.0.0-r1
1 # $Id$
2
3 PNAME="herqq"
4 PVER="1.0.0"
5 PBUILD="r1"
6
7 PCAT="media-libs"
8
9 DESCRIPTION="Software library for building UPnP devices."
10 HOMEPAGE="http://www.herqq.org/"
11
12 DEPEND=">= x11-libs/qt-core-4.8
13 >= x11-libs/qt-gui-4.8
14 >= x11-libs/qt-xmlpatterns-4.8"
15
16 SDEPEND=">= app-arch/unzip-6
17 >= sys-apps/sed-4"
18
19 SRCFILE="${PNAME}-${PVER}.zip"
20 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
21
22 sminclude mbuild qt4
23
24 SRC_URI=(
25 sourceforge://hupnp/${SRCFILE}
26 mirror://${PNAME}/${SRCFILE}
27 )
28
29 UP2DATE="updatecmd -listonly ${HOMEPAGE} | grep ${PNAME}-[0-9] | lasttarball"
30
31 src_prepare()
32 {
33 munpack ${SRCFILE} || die
34 cd ${SRCDIR}
35
36 # honor $(mlibdir)
37 sed -i "s:PREFIX/lib:PREFIX/$(mlibdir):" hupnp/src.pro \
38 hupnp/lib/qtsoap-2.7-opensource/buildlib/buildlib.pro || die
39 }
40
41 src_compile()
42 {
43 cd ${SRCDIR}
44
45 # non standard configure script
46 ${QMAKE} PREFIX="${QTDIR}" || die
47 mmake || die
48 }