Magellan Linux

Contents of /branches/magellan-next/core/cmake/cmake-2.8.3-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7378 - (show annotations) (download)
Tue Jan 11 18:07:59 2011 UTC (13 years, 3 months ago) by niro
File size: 877 byte(s)
auto added: ver bump to 2.8.3-r1
1 # $Id: cmake-2.6.4-r3.smage2 3890 2009-11-13 19:06:48Z niro $
2
3 PNAME="cmake"
4 PVER="2.8.3"
5 PBUILD="r1"
6
7 PCATEGORIE="dev-util"
8 STATE="unstable"
9
10 DESCRIPTION="cmake is a cross-platform open-source make system."
11 HOMEPAGE="http://www.cmake.org/"
12
13 DEPEND=">= sys-libs/ncurses-5.7
14 >= net-misc/curl-7
15 >= dev-libs/expat-2
16 >= dev-libs/libxml2-2.7
17 >= dev-libs/xmlrpc-c-1.06.40"
18
19 SRCFILE="${PNAME}-${PVER}.tar.gz"
20 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
21
22 sminclude mbuild
23
24 SRC_URI=(
25 http://www.cmake.org/files/v${PVER%.*}/${SRCFILE}
26 mirror://${PNAME}/${SRCFILE}
27 )
28
29 UP2DATE="updatecmd ${HOMEPAGE}/${PNAME}/resources/software.html | grep 'Latest Release' | sed 's/.*(\(.*\)).*/\1/'"
30
31 src_compile()
32 {
33 cd ${SRCDIR}
34
35 ./bootstrap \
36 --prefix=/usr \
37 --docdir=/share/doc/${PNAME}-${PVER} \
38 --datadir=/share/${PNAME} \
39 --mandir=/share/man \
40 --system-libs \
41 || die
42
43 mmake || die
44 }