Magellan Linux

Contents of /smage/branches/alx07x-unstable/core/cmake/cmake-3.2.3-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


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