Annotation of /trunk/extras/extra-cmake-modules/extra-cmake-modules-1.6.1-r1.smage2
Parent Directory | Revision Log
Revision 23945 -
(hide annotations)
(download)
Fri Feb 13 08:31:32 2015 UTC (9 years, 7 months ago) by niro
File size: 781 byte(s)
Fri Feb 13 08:31:32 2015 UTC (9 years, 7 months ago) by niro
File size: 781 byte(s)
auto added: ver bump to 1.6.1-r1
1 | niro | 23945 | # $Id$ |
2 | |||
3 | PNAME="extra-cmake-modules" | ||
4 | PVER="1.6.1" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCAT="dev-libs" | ||
8 | |||
9 | HOMPAGE="https://projects.kde.org/projects/kdesupport/extra-cmake-modules" | ||
10 | DESCRIPTION="Extra modules and scripts for CMake." | ||
11 | |||
12 | # docs requires sphinx to build | ||
13 | DEPEND=">= app-arch/xz-utils-5 | ||
14 | >= dev-util/cmake-3.1" | ||
15 | |||
16 | SRCFILE="${PNAME}-${PVER}.tar.xz" | ||
17 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
18 | |||
19 | sminclude cmake | ||
20 | |||
21 | KDEFRAMEWORK_VERSION=5.6 | ||
22 | |||
23 | SRC_URI=( | ||
24 | http://download.kde.org/stable/frameworks/${KDEFRAMEWORK_VERSION}/${SRCFILE} | ||
25 | mirror://${PNAME}/${SRCFILE} | ||
26 | ) | ||
27 | |||
28 | src_compile() | ||
29 | { | ||
30 | cd ${SRCDIR} | ||
31 | |||
32 | # build outside of the source dir | ||
33 | install -d ${BUILDDIR}/build || die | ||
34 | cd ${BUILDDIR}/build | ||
35 | |||
36 | # todo: docs, requires sphinx | ||
37 | cmake_configure $(cmake_without MAN_DOCS) $(cmake_without HTML_DOCS) || die | ||
38 | mmake || die | ||
39 | } |