Ports/ninja: Update ninja to version 1.11.0

This commit is contained in:
EWouters 2022-06-03 18:44:01 +02:00 committed by Linus Groh
parent 41390c9da8
commit efa9b7d9a1
Notes: sideshowbarker 2024-07-17 10:23:30 +09:00
2 changed files with 7 additions and 7 deletions

View file

@ -155,7 +155,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
| [`neofetch`](neofetch/) | neofetch | 7.1.0 | https://github.com/dylanaraps/neofetch |
| [`nesalizer`](nesalizer/) | Nesalizer | 5bb0458 | https://github.com/ulfalizer/nesalizer |
| [`nethack`](nethack/) | nethack | 3.6.6 | https://www.nethack.org/ |
| [`ninja`](ninja/) | Ninja | 1.10.2 | https://ninja-build.org/ |
| [`ninja`](ninja/) | Ninja | 1.11.0 | https://ninja-build.org/ |
| [`nippon`](nippon/) | Nippon Safes Inc. | 1.0 | https://www.scummvm.org/games/#games-nippon |
| [`npiet`](npiet/) | Piet language interpreter | 1.3f | https://www.bertnase.de/npiet/ |
| [`npth`](npth/) | New GNU Portable Threads Library | 1.6 | https://gnupg.org/software/npth/index.html |

View file

@ -1,18 +1,18 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=ninja
version=1.10.2
files="https://github.com/ninja-build/ninja/archive/v${version}.tar.gz ninja-v${version}.tar.gz ce35865411f0490368a8fc383f29071de6690cbadc27704734978221f25e2bed"
auth_type=sha256
port='ninja'
version='1.11.0'
files="https://github.com/ninja-build/ninja/archive/v${version}.tar.gz ninja-v${version}.tar.gz 3c6ba2e66400fe3f1ae83deb4b235faf3137ec20bd5b08c29bfc368db143e4c6"
auth_type='sha256'
build() {
CXXFLAGS="--sysroot=${SERENITY_INSTALL_ROOT}" \
LDFLAGS="--sysroot=${SERENITY_INSTALL_ROOT}" \
# platform=linux is close enough.
run ./configure.py --bootstrap --platform=linux
run ./configure.py --bootstrap --platform='linux'
run strip ninja
}
install() {
run mkdir -p "${SERENITY_INSTALL_ROOT}/usr/local/bin"
run cp ninja "${SERENITY_INSTALL_ROOT}/usr/local/bin/ninja"
run cp ninja "${SERENITY_INSTALL_ROOT}/usr/local/bin"
}