Contents of /trunk/extras/qca/qca-2.0.3-r3.smage2
Parent Directory | Revision Log
Revision 14287 -
(show annotations)
(download)
Mon Dec 10 12:58:45 2012 UTC (11 years, 5 months ago) by niro
File size: 1008 byte(s)
Mon Dec 10 12:58:45 2012 UTC (11 years, 5 months ago) by niro
File size: 1008 byte(s)
-rebuild against qt-4.8.4
1 | # $Id$ |
2 | |
3 | PNAME="qca" |
4 | PVER="2.0.3" |
5 | PBUILD="r3" |
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-2011" |
13 | |
14 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
15 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
16 | |
17 | sminclude mbuild qt4 |
18 | |
19 | SRC_URI=( |
20 | http://delta.affinix.com/download/${PNAME}/${PVER%.*}/${SRCFILE} |
21 | mirror://${PNAME}/${SRCFILE} |
22 | ) |
23 | |
24 | UP2DATE="updatecmd -listonly ${HOMEPAGE} | grep ${PNAME}-[0-9] | lasttarball" |
25 | |
26 | src_compile() |
27 | { |
28 | cd ${SRCDIR} |
29 | |
30 | # non standard configure script |
31 | ./configure \ |
32 | --prefix=/usr \ |
33 | --libdir=/usr/$(mlibdir) \ |
34 | --qtdir=${QTDIR} \ |
35 | --certstore-path=/etc/ssl/certs/ca-certificates.crt \ |
36 | --no-separate-debug-info \ |
37 | --disable-tests \ |
38 | --release \ |
39 | || die |
40 | |
41 | mmake || die |
42 | } |
43 | |
44 | src_install() |
45 | { |
46 | cd ${SRCDIR} |
47 | mmake INSTALL_ROOT=${BINDIR} install || die |
48 | minstalldocs COPYING README TODO || die |
49 | |
50 | # should not exist in the package! |
51 | if [[ -d ${BINDIR}/var/tmp ]] |
52 | then |
53 | rm -rf ${BINDIR}/var/tmp || die |
54 | fi |
55 | } |