Annotation of /trunk/extras/qca-ossl/qca-ossl-2.0.0_beta3-r6.smage2
Parent Directory | Revision Log
Revision 12426 -
(hide annotations)
(download)
Fri May 18 13:29:06 2012 UTC (12 years, 4 months ago) by niro
File size: 1056 byte(s)
Fri May 18 13:29:06 2012 UTC (12 years, 4 months ago) by niro
File size: 1056 byte(s)
auto added: ver bump to 2.0.0_beta3-r6
1 | niro | 12426 | # $Id$ |
2 | |||
3 | PNAME="qca-ossl" | ||
4 | PVER="2.0.0_beta3" | ||
5 | PBUILD="r6" | ||
6 | |||
7 | PCAT="app-crypt" | ||
8 | |||
9 | DESCRIPTION="TLS, S/MIME, PKCS#12, crypto algorithms plugin for QCA." | ||
10 | HOMEPAGE="http://delta.affinix.com/qca/" | ||
11 | |||
12 | DEPEND=">= app-crypt/qca-2 | ||
13 | >= dev-libs/openssl-1.0.1" | ||
14 | |||
15 | SRCFILE="${PNAME}-${PVER/_/-}.tar.bz2" | ||
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_/-}" | ||
17 | |||
18 | sminclude qt4 | ||
19 | |||
20 | SRC_URI=( | ||
21 | http://delta.affinix.com/download/qca/${PVER%.*}/plugins/${SRCFILE} | ||
22 | mirror://${PNAME}/${SRCFILE} | ||
23 | mirror://${PNAME}/${PNAME}-openssl-1.0.0.patch | ||
24 | ) | ||
25 | |||
26 | UP2DATE="updatecmd -listonly ${HOMEPAGE} | grep ${PNAME}-[0-9] | sed 's/.*${PNAME}-\(.*\).tar.*/\1/' | sed 's:-:_:'" | ||
27 | |||
28 | src_prepare() | ||
29 | { | ||
30 | munpack ${SRCFILE} || die | ||
31 | cd ${SRCDIR} | ||
32 | |||
33 | # fixes compile issues with >=openssl-1.0.0 | ||
34 | mpatch ${PNAME}-openssl-1.0.0.patch || die | ||
35 | } | ||
36 | |||
37 | src_compile() | ||
38 | { | ||
39 | cd ${SRCDIR} | ||
40 | |||
41 | # non standard configure script | ||
42 | ./configure \ | ||
43 | --qtdir=${QTDIR} \ | ||
44 | --no-separate-debug-info \ | ||
45 | --release \ | ||
46 | || die | ||
47 | |||
48 | mmake || die | ||
49 | } | ||
50 | |||
51 | src_install() | ||
52 | { | ||
53 | cd ${SRCDIR} | ||
54 | mmake INSTALL_ROOT=${BINDIR} install || die | ||
55 | minstalldocs COPYING README TODO || die | ||
56 | } |