Annotation of /branches/magellan-next/core/cmake/cmake-2.8.5-r1.smage2
Parent Directory | Revision Log
Revision 8401 -
(hide annotations)
(download)
Mon Jul 18 11:38:49 2011 UTC (12 years, 10 months ago) by niro
File size: 805 byte(s)
Mon Jul 18 11:38:49 2011 UTC (12 years, 10 months ago) by niro
File size: 805 byte(s)
auto added: ver bump to 2.8.5-r1
1 | niro | 8401 | # $Id$ |
2 | |||
3 | PNAME="cmake" | ||
4 | PVER="2.8.5" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCATEGORIE="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/ncurses-5.9 | ||
13 | >= net-misc/curl-7 | ||
14 | >= dev-libs/expat-2 | ||
15 | >= dev-libs/libxml2-2.7 | ||
16 | >= dev-libs/xmlrpc-c-1.16.35" | ||
17 | |||
18 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
19 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
20 | |||
21 | sminclude mbuild | ||
22 | |||
23 | SRC_URI=( | ||
24 | http://www.cmake.org/files/v${PVER%.*}/${SRCFILE} | ||
25 | mirror://${PNAME}/${SRCFILE} | ||
26 | ) | ||
27 | |||
28 | UP2DATE="updatecmd ${HOMEPAGE}/${PNAME}/resources/software.html | grep 'Latest Release' | sed 's/.*(\(.*\)).*/\1/'" | ||
29 | |||
30 | src_compile() | ||
31 | { | ||
32 | cd ${SRCDIR} | ||
33 | |||
34 | ./bootstrap \ | ||
35 | --prefix=/usr \ | ||
36 | --docdir=/share/doc/${PNAME}-${PVER} \ | ||
37 | --datadir=/share/${PNAME} \ | ||
38 | --mandir=/share/man \ | ||
39 | --system-libs \ | ||
40 | || die | ||
41 | |||
42 | mmake || die | ||
43 | } |