Magellan Linux

Contents of /branches/magellan-next/extras/qca/qca-2.0.3-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


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