Annotation of /branches/R11-stable/extras/qca/qca-2.0.3-r4.smage2
Parent Directory | Revision Log
Revision 24402 -
(hide annotations)
(download)
Fri Feb 20 10:18:47 2015 UTC (9 years, 2 months ago) by niro
File size: 1180 byte(s)
Fri Feb 20 10:18:47 2015 UTC (9 years, 2 months ago) by niro
File size: 1180 byte(s)
-release branches/R11-stable
1 | niro | 23201 | # $Id$ |
2 | |||
3 | PNAME="qca" | ||
4 | PVER="2.0.3" | ||
5 | PBUILD="r4" | ||
6 | |||
7 | PCAT="app-crypt" | ||
8 | |||
9 | DESCRIPTION="Qt Cryptographic Architecture (QCA)." | ||
10 | HOMEPAGE="http://delta.affinix.com/qca/" | ||
11 | |||
12 | DEPEND=">= app-crypt/ca-certificates-2014" | ||
13 | |||
14 | SRCFILE="${PNAME}-${PVER}.tar.bz2" | ||
15 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
16 | |||
17 | sminclude qt4 | ||
18 | |||
19 | SRC_URI=( | ||
20 | http://delta.affinix.com/download/${PNAME}/${PVER%.*}/${SRCFILE} | ||
21 | mirror://${PNAME}/${SRCFILE} | ||
22 | mirror://${PNAME}/${PNAME}-${PVER}-gcc47.patch | ||
23 | ) | ||
24 | |||
25 | UP2DATE="updatecmd -listonly ${HOMEPAGE} | grep ${PNAME}-[0-9] | lasttarball" | ||
26 | |||
27 | src_prepare() | ||
28 | { | ||
29 | munpack ${SRCFILE} || die | ||
30 | cd ${SRCDIR} | ||
31 | |||
32 | # fix build with gcc-4.7 | ||
33 | mpatch ${PNAME}-${PVER}-gcc47.patch || die | ||
34 | } | ||
35 | |||
36 | src_compile() | ||
37 | { | ||
38 | cd ${SRCDIR} | ||
39 | |||
40 | # non standard configure script | ||
41 | ./configure \ | ||
42 | --prefix=/usr \ | ||
43 | --libdir=/usr/$(mlibdir) \ | ||
44 | --qtdir=${QTDIR} \ | ||
45 | --certstore-path=/etc/ssl/certs/ca-certificates.crt \ | ||
46 | --no-separate-debug-info \ | ||
47 | --disable-tests \ | ||
48 | --release \ | ||
49 | || die | ||
50 | |||
51 | mmake || die | ||
52 | } | ||
53 | |||
54 | src_install() | ||
55 | { | ||
56 | cd ${SRCDIR} | ||
57 | mmake INSTALL_ROOT=${BINDIR} install || die | ||
58 | minstalldocs COPYING README TODO || die | ||
59 | |||
60 | # should not exist in the package! | ||
61 | if [[ -d ${BINDIR}/var/tmp ]] | ||
62 | then | ||
63 | rm -rf ${BINDIR}/var/tmp || die | ||
64 | fi | ||
65 | } |