Magellan Linux

Contents of /smage/trunk/core/cmake/cmake-3.1.3-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6382 - (show annotations) (download)
Wed Apr 1 08:33:23 2015 UTC (9 years, 2 months ago) by niro
File size: 1104 byte(s)
-rebuild
1 # $Id$
2
3 PNAME="cmake"
4 PVER="3.1.3"
5 PBUILD="r2"
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.8
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.33.17"
18
19 SDEPEND=">= sys-libs/libstdc++-dev-4.8
20 >= sys-libs/ncurses-dev-5.9
21 >= net-misc/curl-dev-7
22 >= dev-libs/expat-dev-2
23 >= dev-libs/libxml2-dev-2.7"
24
25 SRCFILE="${PNAME}-${PVER}.tar.gz"
26 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
27
28 sminclude mbuild alx
29 msetfeature "!check"
30
31 SRC_URI=(
32 http://www.cmake.org/files/v${PVER%.*}/${SRCFILE}
33 http://www.cmake.org/files/v${PVER%.*.*}/${SRCFILE}
34 mirror://${PNAME}/${SRCFILE}
35 )
36
37 UP2DATE="updatecmd ${HOMEPAGE}/${PNAME}/resources/software.html | grep 'Latest Release' | sed 's/.*(\(.*\)).*/\1/'"
38
39 src_compile()
40 {
41 cd ${SRCDIR}
42
43 ./bootstrap \
44 --prefix=/usr \
45 --docdir=/share/doc/${PNAME}-${PVER} \
46 --datadir=/share/${PNAME} \
47 --mandir=/share/man \
48 --no-system-libs \
49 --no-system-bzip2 \
50 --no-system-libarchive \
51 || die
52
53 mmake || die
54 }