Magellan Linux

Contents of /smage/branches/alx08x-stable/core/cmake/cmake-3.29.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 18323 - (show annotations) (download)
Mon Apr 22 12:17:28 2024 UTC (6 weeks, 5 days ago) by niro
File size: 1229 byte(s)
-release branches/alx08x-stable
1 # $Id$
2
3 PNAME="cmake"
4 PVER="3.29.2"
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.2
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.4"
20
21 SDEPEND=">= sys-libs/libstdc++-dev-13.2
22 >= sys-libs/ncurses-dev-6.4
23 >= net-misc/curl-dev-7
24 >= dev-libs/libuv-dev-1.32
25 >= dev-libs/jsoncpp-dev-1.9
26 >= dev-libs/expat-dev-2"
27
28 SRCFILE="${PNAME}-${PVER}.tar.gz"
29 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
30
31 sminclude mbuild
32 msetfeature "!check"
33
34 SRC_URI=(
35 http://www.cmake.org/files/v${PVER%.*}/${SRCFILE}
36 http://www.cmake.org/files/v${PVER%.*.*}/${SRCFILE}
37 mirror://${PNAME}/${SRCFILE}
38 )
39
40 #UP2DATE="updatecmd ${HOMEPAGE}/ | grep 'Download CMake' | sed 's/.*Version\ \(.*\).*/\1/'"
41 UP2DATE="curl -s https://cmake.org/download/ | sed 's:.*\(cmake.*\.tar\.gz\).*:\1:' | highesttarball gz"
42
43 src_compile()
44 {
45 cd ${SRCDIR}
46
47 ./bootstrap \
48 --prefix=/usr \
49 --docdir=/share/doc/${PNAME}-${PVER} \
50 --datadir=/share/${PNAME} \
51 --mandir=/share/man \
52 --no-system-cppdap \
53 --system-libs \
54 || die
55
56 mmake || die
57 }