Magellan Linux

Contents of /trunk/extras/qca/qca-2.0.2-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3904 - (show annotations) (download)
Fri Nov 13 22:59:28 2009 UTC (14 years, 5 months ago) by niro
File size: 931 byte(s)
auto added: ver bump to 2.0.2-r3
1 # $Id$
2
3 PNAME="qca"
4 PVER="2.0.2"
5 PBUILD="r3"
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 }

Properties

Name Value
svn:keywords Id