first commit

This commit is contained in:
ngn
2024-08-11 02:17:03 +03:00
commit ee34792885
1404 changed files with 13564 additions and 0 deletions

3
src/cmake/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.cache/
dist/
root/

2
src/cmake/changes.md Normal file
View File

@ -0,0 +1,2 @@
# 3.27.2
First version

23
src/cmake/pkg.sh Normal file
View 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
}