mirror of
https://github.com/outbackdingo/ports.git
synced 2026-02-05 00:26:01 +00:00
24 lines
536 B
Plaintext
Executable File
24 lines
536 B
Plaintext
Executable File
# description : Modern toolset used for generating Makefiles
|
|
# depends : curl libarchive libuv cppdap
|
|
|
|
name=cmake
|
|
version=3.27.0
|
|
release=1
|
|
source="https://www.cmake.org/files/v${version%.*}/$name-$version.tar.gz"
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
sed -i '/"lib64"/s/64//' Modules/GNUInstallDirs.cmake
|
|
|
|
./bootstrap --prefix=/usr \
|
|
--system-libs \
|
|
--mandir=/share/man \
|
|
--no-system-jsoncpp \
|
|
--no-system-librhash
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/doc
|
|
}
|