Magellan Linux

Contents of /trunk/core/cmake/cmake-3.26.4-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 33440 - (show annotations) (download)
Wed Jul 19 11:42:58 2023 UTC (9 months, 3 weeks ago) by niro
File size: 1029 byte(s)
-ver bump to 3.26.4-r1
1 # $Id$
2
3 PNAME="cmake"
4 PVER="3.26.4"
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++-13.1
13 >= sys-libs/ncurses-6.4
14 >= net-misc/curl-7
15 >= dev-libs/expat-2
16 >= dev-libs/libuv-1.32
17 >= dev-libs/jsoncpp-1.9
18 >= app-arch/libarchive-3.4
19 >= app-crypt/rhash-1.3"
20
21 SRCFILE="${PNAME}-${PVER}.tar.gz"
22 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
23
24 sminclude mbuild
25 msetfeature "!check"
26
27 SRC_URI=(
28 http://www.cmake.org/files/v${PVER%.*}/${SRCFILE}
29 http://www.cmake.org/files/v${PVER%.*.*}/${SRCFILE}
30 mirror://${PNAME}/${SRCFILE}
31 )
32
33 #UP2DATE="updatecmd ${HOMEPAGE}/ | grep 'Download CMake' | sed 's/.*Version\ \(.*\).*/\1/'"
34 UP2DATE="curl -s https://cmake.org/download/ | sed 's:.*\(cmake.*\.tar\.gz\).*:\1:' | highesttarball gz"
35
36 src_compile()
37 {
38 cd ${SRCDIR}
39
40 ./bootstrap \
41 --prefix=/usr \
42 --docdir=/share/doc/${PNAME}-${PVER} \
43 --datadir=/share/${PNAME} \
44 --mandir=/share/man \
45 --system-libs \
46 || die
47
48 mmake || die
49 }