Magellan Linux

Annotation of /trunk/todo/qoauth/qoauth-1.0.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 27928 - (hide annotations) (download)
Wed Apr 6 11:15:06 2016 UTC (8 years, 2 months ago) by niro
File size: 629 byte(s)
-moved to 'todo'
1 niro 15507 # $Id$
2    
3     PNAME="qoauth"
4     PVER="1.0.1"
5     PBUILD="r1"
6    
7     PCAT="dev-libs"
8    
9     DESCRIPTION="A Qt-based C++ library for OAuth authorization scheme."
10     HOMEPAGE="https://github.com/ayoy/qoauth"
11    
12     DEPEND=">= app-crypt/qca-2"
13    
14     SRCFILE="${PNAME}-${PVER}.tar.gz"
15     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
16    
17 niro 15508 sminclude qt4 mbuild
18 niro 15507
19     SRC_URI=( mirror://${PNAME}/${SRCFILE} )
20    
21     UP2DATE="updatecmd -listonly ${HOMEPAGE}/tags | grep .tar.gz | sed 's:.*v\(.*\).tar.gz:\1:;q'"
22 niro 15508
23     src_compile()
24     {
25     cd ${SRCDIR}
26    
27     ${QMAKE} || die
28     mmake || die
29     }
30 niro 15509
31     src_install()
32     {
33     cd ${SRCDIR}
34    
35     mmake INSTALL_ROOT=${BINDIR} install || die
36     minstalldocs CHANGELOG LICENSE README || die
37     }