Magellan Linux

Contents of /trunk/todo/qca-ossl/qca-ossl-2.0.0_beta3-r8.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 27929 - (show annotations) (download)
Wed Apr 6 11:15:20 2016 UTC (8 years, 1 month ago) by niro
File size: 1083 byte(s)
-moved to 'todo'
1 # $Id$
2
3 PNAME="qca-ossl"
4 PVER="2.0.0_beta3"
5 PBUILD="r8"
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.2
14 >= sys-libs/libstdc++-5.3"
15
16 SRCFILE="${PNAME}-${PVER/_/-}.tar.bz2"
17 SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_/-}"
18
19 sminclude qt4
20
21 SRC_URI=(
22 http://delta.affinix.com/download/qca/${PVER%.*}/plugins/${SRCFILE}
23 mirror://${PNAME}/${SRCFILE}
24 mirror://${PNAME}/${PNAME}-openssl-1.0.0.patch
25 )
26
27 UP2DATE="updatecmd -listonly ${HOMEPAGE} | grep ${PNAME}-[0-9] | sed 's/.*${PNAME}-\(.*\).tar.*/\1/' | sed 's:-:_:'"
28
29 src_prepare()
30 {
31 munpack ${SRCFILE} || die
32 cd ${SRCDIR}
33
34 # fixes compile issues with >=openssl-1.0.0
35 mpatch ${PNAME}-openssl-1.0.0.patch || die
36 }
37
38 src_compile()
39 {
40 cd ${SRCDIR}
41
42 # non standard configure script
43 ./configure \
44 --qtdir=${QTDIR} \
45 --no-separate-debug-info \
46 --release \
47 || die
48
49 mmake || die
50 }
51
52 src_install()
53 {
54 cd ${SRCDIR}
55 mmake INSTALL_ROOT=${BINDIR} install || die
56 minstalldocs COPYING README TODO || die
57 }