Contents of /trunk/core/cmake/cmake-3.5.2-r1.smage2
Parent Directory | Revision Log
Revision 27973 -
(show annotations)
(download)
Wed Apr 27 12:22:51 2016 UTC (8 years, 4 months ago) by niro
File size: 1034 byte(s)
Wed Apr 27 12:22:51 2016 UTC (8 years, 4 months ago) by niro
File size: 1034 byte(s)
auto added: ver bump to 3.5.2-r1
1 | # $Id$ |
2 | |
3 | PNAME="cmake" |
4 | PVER="3.5.2" |
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++-5.3 |
13 | >= sys-libs/ncurses-6.0 |
14 | >= net-misc/curl-7 |
15 | >= dev-libs/expat-2 |
16 | >= dev-libs/libxml2-2.7 |
17 | >= dev-libs/xmlrpc-c-1.33.18 |
18 | >= dev-libs/jsoncpp-1.7.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}/ | grep 'Download CMake' | sed 's/.*Version\ \(.*\).*/\1/'" |
34 | UP2DATE="curl -s https://cmake.org/download/ | sed 's:.*\(cmake.*\.tar\.gz\).*:\1:' | highesttarball gz" |
35 | |
36 | src_compile() |
37 | { |
38 | cd ${SRCDIR} |
39 | |
40 | ./bootstrap \ |
41 | --prefix=/usr \ |
42 | --docdir=/share/doc/${PNAME}-${PVER} \ |
43 | --datadir=/share/${PNAME} \ |
44 | --mandir=/share/man \ |
45 | --system-libs \ |
46 | || die |
47 | |
48 | mmake || die |
49 | } |