Magellan Linux

Annotation of /branches/magellan-next/core/cmake/cmake-2.8.4-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7493 - (hide annotations) (download)
Tue Mar 15 22:19:34 2011 UTC (13 years, 2 months ago) by niro
File size: 822 byte(s)
auto added: ver bump to 2.8.4-r1
1 niro 7493 # $Id$
2    
3     PNAME="cmake"
4     PVER="2.8.4"
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.8
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     }