Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4183 - (show annotations) (download)
Thu Nov 8 11:50:29 2012 UTC (11 years, 7 months ago) by niro
File size: 905 byte(s)
auto added: ver bump to 2.8.10.1-r1
1 # $Id$
2
3 PNAME="cmake"
4 PVER="2.8.10.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
19 SRCFILE="${PNAME}-${PVER}.tar.gz"
20 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
21
22 sminclude mbuild alx
23 msetfeature "!check"
24
25 SRC_URI=(
26 http://www.cmake.org/files/v${PVER%.*.*}/${SRCFILE}
27 mirror://${PNAME}/${SRCFILE}
28 )
29
30 UP2DATE="updatecmd ${HOMEPAGE}/${PNAME}/resources/software.html | grep 'Latest Release' | sed 's/.*(\(.*\)).*/\1/'"
31
32 src_compile()
33 {
34 cd ${SRCDIR}
35
36 ./bootstrap \
37 --prefix=/usr \
38 --docdir=/share/doc/${PNAME}-${PVER} \
39 --datadir=/share/${PNAME} \
40 --mandir=/share/man \
41 --system-libs \
42 --no-system-bzip2 \
43 --no-system-libarchive \
44 || die
45
46 mmake || die
47 }