Magellan Linux

Contents of /branches/R11-stable/core/cmake/cmake-2.8.11.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 17753 - (show annotations) (download)
Wed Jun 26 12:25:30 2013 UTC (10 years, 11 months ago) by niro
File size: 878 byte(s)
-release branches/R11-stable
1 # $Id$
2
3 PNAME="cmake"
4 PVER="2.8.11.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++-4.7
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.16.35
18 >= app-arch/libarchive-3"
19
20 SRCFILE="${PNAME}-${PVER}.tar.gz"
21 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
22
23 sminclude mbuild
24 msetfeature "!check"
25
26 SRC_URI=(
27 http://www.cmake.org/files/v${PVER%.*.*}/${SRCFILE}
28 mirror://${PNAME}/${SRCFILE}
29 )
30
31 UP2DATE="updatecmd ${HOMEPAGE}/${PNAME}/resources/software.html | grep 'Latest Release' | sed 's/.*(\(.*\)).*/\1/'"
32
33 src_compile()
34 {
35 cd ${SRCDIR}
36
37 ./bootstrap \
38 --prefix=/usr \
39 --docdir=/share/doc/${PNAME}-${PVER} \
40 --datadir=/share/${PNAME} \
41 --mandir=/share/man \
42 --system-libs \
43 || die
44
45 mmake || die
46 }