Magellan Linux

Contents of /trunk/extras/qca-ossl/qca-ossl-2.0.0_beta3-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1965 - (show annotations) (download)
Thu Jun 11 11:39:51 2009 UTC (14 years, 10 months ago) by niro
File size: 1158 byte(s)
auto added: ver bump to 2.0.0_beta3-r1
1 # $Id$
2
3 PNAME="qca-ossl"
4 PVER="2.0.0_beta3"
5 PBUILD="r1"
6
7 PCATEGORIE="app-crypt"
8 STATE="unstable"
9
10 DESCRIPTION="TLS, S/MIME, PKCS#12, crypto algorithms plugin for QCA."
11 HOMEPAGE="http://delta.affinix.com/qca/"
12
13 SRCFILE="${PNAME}-${PVER/_/-}.tar.bz2"
14 SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_/-}"
15
16 sminclude qt4
17
18 DEPEND=">= app-crypt/qca-ossl-2.0
19 >= dev-libs/openssl-0.9.8k"
20
21 SRC_URI=(
22 http://delta.affinix.com/download/qca/${PVER%.*}/plugins/${SRCFILE}
23 mirror://${PNAME}/${SRCFILE}
24 mirror://${PNAME}/${PNAME}-openssl-0.9.8i.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-0.9.8i
35 mpatch ${PNAME}-openssl-0.9.8i.patch || die
36 }
37
38 src_compile()
39 {
40 cd ${SRCDIR}
41
42 # non standard configure script
43 ./configure \
44 --prefix=/usr \
45 --libdir=/usr/$(mlibdir) \
46 --qtdir=${QTDIR} \
47 --no-separate-debug-info \
48 --disable-tests \
49 --release \
50 || die
51
52 mmake || die
53 }
54
55 src_install()
56 {
57 cd ${SRCDIR}
58 mmake INSTALL_ROOT=${BINDIR} install || die
59 minstalldocs COPYING README TODO || die
60 }

Properties

Name Value
svn:keywords Id