Magellan Linux

Annotation of /trunk/deprecated/herqq/herqq-1.0.0-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 13962 - (hide annotations) (download)
Thu Nov 1 21:35:53 2012 UTC (11 years, 7 months ago) by niro
Original Path: trunk/extras/herqq/herqq-1.0.0-r2.smage2
File size: 919 byte(s)
-rebuild
1 niro 13962 # $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     }