Magellan Linux

Contents of /smage/branches/alx07x-stable/core/cmake/cmake-3.4.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8748 - (show annotations) (download)
Mon Feb 29 10:03:23 2016 UTC (8 years, 2 months ago) by niro
File size: 1103 byte(s)
-release branches/alx07x-stable
1 # $Id$
2
3 PNAME="cmake"
4 PVER="3.4.1"
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.6.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
40 src_compile()
41 {
42 cd ${SRCDIR}
43
44 ./bootstrap \
45 --prefix=/usr \
46 --docdir=/share/doc/${PNAME}-${PVER} \
47 --datadir=/share/${PNAME} \
48 --mandir=/share/man \
49 --no-system-libs \
50 --no-system-bzip2 \
51 --no-system-libarchive \
52 || die
53
54 mmake || die
55 }