Contents of /branches/magellan-next/extras/qca/qca-2.0.2-r5.smage2
Parent Directory | Revision Log
Revision 6847 -
(show annotations)
(download)
Wed Sep 22 19:19:13 2010 UTC (14 years ago) by niro
File size: 984 byte(s)
Wed Sep 22 19:19:13 2010 UTC (14 years ago) by niro
File size: 984 byte(s)
auto added: ver bump to 2.0.2-r5
1 | # $Id: qca-2.0.2-r4.smage2 4186 2009-11-30 09:18:14Z niro $ |
2 | |
3 | PNAME="qca" |
4 | PVER="2.0.2" |
5 | PBUILD="r5" |
6 | |
7 | PCATEGORIE="app-crypt" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="Qt Cryptographic Architecture (QCA)." |
11 | HOMEPAGE="http://delta.affinix.com/qca/" |
12 | |
13 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
14 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
15 | |
16 | sminclude mbuild qt4 |
17 | |
18 | SRC_URI=( |
19 | http://delta.affinix.com/download/${PNAME}/${PVER%.*}/${SRCFILE} |
20 | mirror://${PNAME}/${SRCFILE} |
21 | ) |
22 | |
23 | UP2DATE="updatecmd -listonly ${HOMEPAGE} | grep ${PNAME}-[0-9] | lasttarball" |
24 | |
25 | src_compile() |
26 | { |
27 | cd ${SRCDIR} |
28 | |
29 | # non standard configure script |
30 | ./configure \ |
31 | --prefix=/usr \ |
32 | --libdir=/usr/$(mlibdir) \ |
33 | --qtdir=${QTDIR} \ |
34 | --no-separate-debug-info \ |
35 | --disable-tests \ |
36 | --release \ |
37 | || die |
38 | |
39 | mmake || die |
40 | } |
41 | |
42 | src_install() |
43 | { |
44 | cd ${SRCDIR} |
45 | mmake INSTALL_ROOT=${BINDIR} install || die |
46 | minstalldocs COPYING README TODO || die |
47 | |
48 | # should not exist in the package! |
49 | if [[ -d ${BINDIR}/var/tmp ]] |
50 | then |
51 | rm -rf ${BINDIR}/var/tmp || die |
52 | fi |
53 | } |