Contents of /trunk/core/cmake/cmake-3.3.0-r1.smage2
Parent Directory | Revision Log
Revision 26840 -
(show annotations)
(download)
Mon Aug 3 13:56:09 2015 UTC (8 years, 10 months ago) by niro
File size: 953 byte(s)
Mon Aug 3 13:56:09 2015 UTC (8 years, 10 months ago) by niro
File size: 953 byte(s)
auto added: ver bump to 3.3.0-r1
1 | # $Id$ |
2 | |
3 | PNAME="cmake" |
4 | PVER="3.3.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.25.30 |
18 | >= dev-libs/jsoncpp-1.6.2 |
19 | >= app-arch/libarchive-3" |
20 | |
21 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
22 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
23 | |
24 | sminclude mbuild |
25 | msetfeature "!check" |
26 | |
27 | SRC_URI=( |
28 | http://www.cmake.org/files/v${PVER%.*}/${SRCFILE} |
29 | http://www.cmake.org/files/v${PVER%.*.*}/${SRCFILE} |
30 | mirror://${PNAME}/${SRCFILE} |
31 | ) |
32 | |
33 | UP2DATE="updatecmd ${HOMEPAGE}/${PNAME}/resources/software.html | grep 'Latest Release' | sed 's/.*(\(.*\)).*/\1/'" |
34 | |
35 | src_compile() |
36 | { |
37 | cd ${SRCDIR} |
38 | |
39 | ./bootstrap \ |
40 | --prefix=/usr \ |
41 | --docdir=/share/doc/${PNAME}-${PVER} \ |
42 | --datadir=/share/${PNAME} \ |
43 | --mandir=/share/man \ |
44 | --system-libs \ |
45 | || die |
46 | |
47 | mmake || die |
48 | } |