Annotation of /trunk/todo/libkolab/libkolab-0.6.0-r1.smage2
Parent Directory | Revision Log
Revision 27891 -
(hide annotations)
(download)
Wed Apr 6 10:59:41 2016 UTC (8 years, 5 months ago) by niro
File size: 1044 byte(s)
Wed Apr 6 10:59:41 2016 UTC (8 years, 5 months ago) by niro
File size: 1044 byte(s)
-moved to 'todo'
1 | niro | 26582 | # $Id$ |
2 | |||
3 | PNAME="libkolab" | ||
4 | PVER="0.6.0" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCAT="net-libs" | ||
8 | |||
9 | DESCRIPTION="Advanced Kolab Object Handling Library for KDE4" | ||
10 | HOMEPAGE="http://git.kolab.org/libkolab/" | ||
11 | |||
12 | DEPEND="== kde-base/kdepimlibs-4.14 | ||
13 | niro | 26584 | >= net-libs/libkolabxml-1.1" |
14 | niro | 26582 | |
15 | SDEPEND=">= dev-libs/boost-1.57 | ||
16 | >= dev-lang/swig-2" | ||
17 | |||
18 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
19 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
20 | |||
21 | sminclude kde4 | ||
22 | |||
23 | SRC_URI=( | ||
24 | http://mirror.kolabsys.com/pub/releases/${SRCFILE} | ||
25 | mirror://${PNAME}/${SRCFILE} | ||
26 | niro | 26585 | mirror://${PNAME}/${PNAME}-${PVER}-check-for-generic-tag.patch |
27 | niro | 26582 | ) |
28 | |||
29 | UP2DATE="updatecmd http://mirror.kolabsys.com/pub/releases/ | grep ${PNAME}- | highesttarball gz" | ||
30 | |||
31 | niro | 26587 | src_prepare() |
32 | { | ||
33 | munpack ${SRCFILE} || die | ||
34 | cd ${SRCDIR} | ||
35 | |||
36 | # fix build against kdepimlib-4.14 | ||
37 | mpatch ${PNAME}-${PVER}-check-for-generic-tag.patch || die | ||
38 | } | ||
39 | |||
40 | niro | 26582 | src_install() |
41 | { | ||
42 | cd ${SRCDIR} | ||
43 | |||
44 | kde4_src_install || die | ||
45 | |||
46 | # fix broken cmake config | ||
47 | sed -i 's:rootDir ${myDir}/../../../../ ABSOLUTE:rootDir ${myDir}/../../../ ABSOLUTE:' \ | ||
48 | ${BINDIR}/usr/$(mlibdir)/cmake/Libkolab/LibkolabConfig.cmake || die | ||
49 | } |