first commit
This commit is contained in:
3
src/cmake/.gitignore
vendored
Normal file
3
src/cmake/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.cache/
|
||||
dist/
|
||||
root/
|
2
src/cmake/changes.md
Normal file
2
src/cmake/changes.md
Normal file
@ -0,0 +1,2 @@
|
||||
# 3.27.2
|
||||
First version
|
23
src/cmake/pkg.sh
Normal file
23
src/cmake/pkg.sh
Normal file
@ -0,0 +1,23 @@
|
||||
NAME="cmake"
|
||||
DESC="Modern toolset used for generating Makefiles"
|
||||
VERSION="3.27.2"
|
||||
FILES=("https://cmake.org/files/v3.27/cmake-$VERSION.tar.gz")
|
||||
HASHES=("07786cd23c3d0aa9c2fef69efb13662b")
|
||||
DEPENDS=("curl" "libarchive")
|
||||
|
||||
PACKAGE() {
|
||||
tar xf $NAME-$VERSION.tar.gz
|
||||
cd $NAME-$VERSION
|
||||
|
||||
sed -i '/"lib64"/s/64//' Modules/GNUInstallDirs.cmake
|
||||
./bootstrap --prefix=/usr \
|
||||
--system-libs \
|
||||
--mandir=/share/man \
|
||||
--no-system-jsoncpp \
|
||||
--no-system-cppdap \
|
||||
--no-system-librhash \
|
||||
--docdir=/share/doc/cmake-$VERSION
|
||||
make && make DESTDIR=${ROOTDIR} install
|
||||
|
||||
cd .. && rm -rf $NAME-$VERSION
|
||||
}
|
Reference in New Issue
Block a user