mirror of
https://linux.maple.camp/git/ahill/maplelinux-bootstrap.git
synced 2026-02-11 10:13:35 +00:00
Fixed LibreSSL and built bzip2, Zlib, and CMake
This commit is contained in:
30
sources/cmake/cmake.spec
Normal file
30
sources/cmake/cmake.spec
Normal file
@@ -0,0 +1,30 @@
|
||||
# Maintainer: Alexander Hill <ahill@breadpudding.dev>
|
||||
SRC_HASH="4104e94657d247c811cb29985405a360b78130b5d51e7f6daceb2447830bd579"
|
||||
SRC_NAME="cmake"
|
||||
SRC_URL="https://github.com/Kitware/CMake/releases/download/v4.2.0/cmake-4.2.0.tar.gz"
|
||||
SRC_VERSION="4.2.0"
|
||||
|
||||
build() {
|
||||
tar xf ../$SRC_FILENAME
|
||||
cd cmake-*/
|
||||
# NOTE: CMake's bootstrap script is strange because *everything* is located
|
||||
# under the prefix, whether you like it or not. We're making use of
|
||||
# /usr/bin this way, which is something I would like to avoid. ~ahill
|
||||
./bootstrap \
|
||||
--parallel=$TT_PROCS \
|
||||
--prefix=/usr \
|
||||
--system-bzip2 \
|
||||
--system-libarchive \
|
||||
--system-liblzma \
|
||||
--system-zlib
|
||||
make -O -j $TT_PROCS
|
||||
}
|
||||
|
||||
clean() {
|
||||
rm -rf cmake-*/
|
||||
}
|
||||
|
||||
package() {
|
||||
cd cmake-*/
|
||||
make -O -j $TT_PROCS install DESTDIR=$TT_INSTALLDIR
|
||||
}
|
||||
Reference in New Issue
Block a user