Magellan Linux

Contents of /smage/trunk/core/cmake/cmake-3.5.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8986 - (show annotations) (download)
Wed Jun 1 11:15:38 2016 UTC (7 years, 11 months ago) by niro
File size: 1209 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.39
18 >= dev-libs/jsoncpp-1.7.2"
19
20 SDEPEND=">= sys-libs/libstdc++-dev-5.3
21 >= sys-libs/ncurses-dev-6.0
22 >= net-misc/curl-dev-7
23 >= dev-libs/expat-dev-2
24 >= dev-libs/libxml2-dev-2.7"
25
26 SRCFILE="${PNAME}-${PVER}.tar.gz"
27 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
28
29 sminclude mbuild alx
30 msetfeature "!check"
31
32 SRC_URI=(
33 http://www.cmake.org/files/v${PVER%.*}/${SRCFILE}
34 http://www.cmake.org/files/v${PVER%.*.*}/${SRCFILE}
35 mirror://${PNAME}/${SRCFILE}
36 )
37
38 #UP2DATE="updatecmd ${HOMEPAGE}/ | grep 'Download CMake' | sed 's/.*Version\ \(.*\).*/\1/'"
39 UP2DATE="curl -s https://cmake.org/download/ | sed 's:.*\(cmake.*\.tar\.gz\).*:\1:' | highesttarball gz"
40
41 src_compile()
42 {
43 cd ${SRCDIR}
44
45 ./bootstrap \
46 --prefix=/usr \
47 --docdir=/share/doc/${PNAME}-${PVER} \
48 --datadir=/share/${PNAME} \
49 --mandir=/share/man \
50 --no-system-libs \
51 --no-system-bzip2 \
52 --no-system-libarchive \
53 || die
54
55 mmake || die
56 }