Annotation of /branches/R11-stable/core/cmake/cmake-3.0.0-r1.smage2
Parent Directory | Revision Log
Revision 21444 -
(hide annotations)
(download)
Mon Jun 23 10:54:04 2014 UTC (10 years, 3 months ago) by niro
Original Path: trunk/core/cmake/cmake-3.0.0-r1.smage2
File size: 926 byte(s)
Mon Jun 23 10:54:04 2014 UTC (10 years, 3 months ago) by niro
Original Path: trunk/core/cmake/cmake-3.0.0-r1.smage2
File size: 926 byte(s)
-dropped freetype patch
1 | niro | 21443 | # $Id$ |
2 | |||
3 | PNAME="cmake" | ||
4 | PVER="3.0.0" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCAT="dev-util" | ||
8 | |||
9 | DESCRIPTION="cmake is a cross-platform open-source make system." | ||
10 | HOMEPAGE="http://www.cmake.org/" | ||
11 | |||
12 | DEPEND=">= sys-libs/libstdc++-4.8 | ||
13 | >= sys-libs/ncurses-5.9 | ||
14 | >= net-misc/curl-7 | ||
15 | >= dev-libs/expat-2 | ||
16 | >= dev-libs/libxml2-2.7 | ||
17 | >= dev-libs/xmlrpc-c-1.16.35 | ||
18 | >= app-arch/libarchive-3" | ||
19 | |||
20 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
21 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
22 | |||
23 | sminclude mbuild | ||
24 | msetfeature "!check" | ||
25 | |||
26 | SRC_URI=( | ||
27 | http://www.cmake.org/files/v${PVER%.*}/${SRCFILE} | ||
28 | http://www.cmake.org/files/v${PVER%.*.*}/${SRCFILE} | ||
29 | mirror://${PNAME}/${SRCFILE} | ||
30 | ) | ||
31 | |||
32 | UP2DATE="updatecmd ${HOMEPAGE}/${PNAME}/resources/software.html | grep 'Latest Release' | sed 's/.*(\(.*\)).*/\1/'" | ||
33 | |||
34 | src_compile() | ||
35 | { | ||
36 | cd ${SRCDIR} | ||
37 | |||
38 | ./bootstrap \ | ||
39 | --prefix=/usr \ | ||
40 | --docdir=/share/doc/${PNAME}-${PVER} \ | ||
41 | --datadir=/share/${PNAME} \ | ||
42 | --mandir=/share/man \ | ||
43 | --system-libs \ | ||
44 | || die | ||
45 | |||
46 | mmake || die | ||
47 | } |