1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- set -e
- program=cmake
- version=3.23.1
- release=1
- pkgcategory=devel
- tarname=${program}-${version}.tar.gz
- fetch="https://cmake.org/files/v${version%.*}/$tarname"
- description="
- Cross-platform make system.
- CMake is a family of tools designed to build, test and package
- software. CMake is used to control the software compilation process
- using simple platform and compiler independent configuration files.
- "
- homepage=https://www.cmake.org
- license=Custom
- build()
- {
- unpack "${tardir}/$tarname"
- cd "$srcdir"
-
- chmod -R u+w,go-w,a+rX-s .
- rm -rf BUILD
- mkdir BUILD
- cd BUILD
- ../configure \
- CFLAGS="$QICFLAGS" CXXFLAGS="$QICXXFLAGS" LDFLAGS="$QILDFLAGS" \
- --prefix=/usr \
- --mandir=$mandir \
- --docdir=$docsdir \
- --system-libuv \
- --system-curl \
- --system-expat \
- --system-zlib \
- --system-bzip2 \
- --system-libarchive \
- --no-system-jsoncpp \
- --parallel=$jobs
- make -j${jobs} V=1
- make -j${jobs} DESTDIR="$destdir" install
- }
|