Contents of /branches/R11-stable/extras/herqq/herqq-1.0.0-r2.smage2
Parent Directory | Revision Log
Revision 15165 -
(show annotations)
(download)
Wed Jan 2 10:52:32 2013 UTC (11 years, 8 months ago) by niro
File size: 919 byte(s)
Wed Jan 2 10:52:32 2013 UTC (11 years, 8 months ago) by niro
File size: 919 byte(s)
-release branches/R11-stable
1 | # $Id$ |
2 | |
3 | PNAME="herqq" |
4 | PVER="1.0.0" |
5 | PBUILD="r2" |
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/qt4-core-4.8 |
13 | >= x11-libs/qt4-gui-4.8 |
14 | >= x11-libs/qt4-xmlpatterns-4.8" |
15 | |
16 | SDEPEND=">= app-arch/unzip-6 |
17 | >= virtual/sed" |
18 | |
19 | SRCFILE="${PNAME}-${PVER}.zip" |
20 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
21 | |
22 | sminclude qt4 |
23 | |
24 | SRC_URI=( |
25 | sourceforge://hupnp/${SRCFILE} |
26 | mirror://${PNAME}/${SRCFILE} |
27 | ) |
28 | |
29 | UP2TARBALL="${PNAME}" |
30 | UP2DATE="updatecmd_sourceforge hupnp zip" |
31 | |
32 | src_prepare() |
33 | { |
34 | munpack ${SRCFILE} || die |
35 | cd ${SRCDIR} |
36 | |
37 | # honor $(mlibdir) |
38 | sed -i "s:PREFIX/lib:PREFIX/$(mlibdir):" hupnp/src.pro \ |
39 | hupnp/lib/qtsoap-2.7-opensource/buildlib/buildlib.pro || die |
40 | } |
41 | |
42 | src_compile() |
43 | { |
44 | cd ${SRCDIR} |
45 | |
46 | # non standard configure script |
47 | ${QMAKE} PREFIX="${QTDIR}" || die |
48 | mmake || die |
49 | } |
50 | |
51 | src_install() |
52 | { |
53 | cd ${SRCDIR} |
54 | mmake INSTALL_ROOT=${BINDIR} install || die |
55 | } |