Contents of /branches/magellan-next/extras/qca-ossl/qca-ossl-2.0.0_beta3-r5.smage2
Parent Directory | Revision Log
Revision 8667 -
(show annotations)
(download)
Wed Jul 27 16:47:16 2011 UTC (13 years, 2 months ago) by niro
File size: 1065 byte(s)
Wed Jul 27 16:47:16 2011 UTC (13 years, 2 months ago) by niro
File size: 1065 byte(s)
auto added: ver bump to 2.0.0_beta3-r5
1 | # $Id$ |
2 | |
3 | PNAME="qca-ossl" |
4 | PVER="2.0.0_beta3" |
5 | PBUILD="r5" |
6 | |
7 | PCATEGORIE="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.0 |
13 | >= dev-libs/openssl-1.0.0" |
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 | } |