Contents of /trunk/core/cmake/cmake-3.7.0-r1.smage2
Parent Directory | Revision Log
Revision 28448 -
(show annotations)
(download)
Wed Nov 23 13:24:34 2016 UTC (7 years, 6 months ago) by niro
File size: 1074 byte(s)
Wed Nov 23 13:24:34 2016 UTC (7 years, 6 months ago) by niro
File size: 1074 byte(s)
auto added: ver bump to 3.7.0-r1
1 | # $Id$ |
2 | |
3 | PNAME="cmake" |
4 | PVER="3.7.0" |
5 | PBUILD="r1" |
6 | |
7 | STATE="disable" # missing libuv in tree |
8 | PCAT="dev-util" |
9 | |
10 | DESCRIPTION="cmake is a cross-platform open-source make system." |
11 | HOMEPAGE="http://www.cmake.org/" |
12 | |
13 | DEPEND=">= sys-libs/libstdc++-5.3 |
14 | >= sys-libs/ncurses-6.0 |
15 | >= net-misc/curl-7 |
16 | >= dev-libs/expat-2 |
17 | >= dev-libs/libxml2-2.7 |
18 | >= dev-libs/xmlrpc-c-1.33.18 |
19 | >= dev-libs/jsoncpp-1.7.2 |
20 | >= app-arch/libarchive-3" |
21 | |
22 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
23 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
24 | |
25 | sminclude mbuild |
26 | msetfeature "!check" |
27 | |
28 | SRC_URI=( |
29 | http://www.cmake.org/files/v${PVER%.*}/${SRCFILE} |
30 | http://www.cmake.org/files/v${PVER%.*.*}/${SRCFILE} |
31 | mirror://${PNAME}/${SRCFILE} |
32 | ) |
33 | |
34 | #UP2DATE="updatecmd ${HOMEPAGE}/ | grep 'Download CMake' | sed 's/.*Version\ \(.*\).*/\1/'" |
35 | UP2DATE="curl -s https://cmake.org/download/ | sed 's:.*\(cmake.*\.tar\.gz\).*:\1:' | highesttarball gz" |
36 | |
37 | src_compile() |
38 | { |
39 | cd ${SRCDIR} |
40 | |
41 | ./bootstrap \ |
42 | --prefix=/usr \ |
43 | --docdir=/share/doc/${PNAME}-${PVER} \ |
44 | --datadir=/share/${PNAME} \ |
45 | --mandir=/share/man \ |
46 | --system-libs \ |
47 | || die |
48 | |
49 | mmake || die |
50 | } |