mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:47:35 +00:00
Ports: Set port
to match the port's directory
We currently have no valid use case for having a `port` property different from the directory name the port's residing in. We do have issues when this is the case when referencing dependencies, so let's make sure all ports have a sensible `port` property to begin with.
This commit is contained in:
parent
563d11c977
commit
d53c602e11
7 changed files with 18 additions and 15 deletions
|
@ -1,10 +1,10 @@
|
|||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
port=SimonTathamsPuzzles
|
||||
port=stpuzzles
|
||||
useconfigure=true
|
||||
version=git
|
||||
workdir=stpuzzles-main
|
||||
workdir="${port}-main"
|
||||
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")
|
||||
files="https://github.com/SerenityPorts/stpuzzles/archive/refs/heads/main.zip stpuzzles.zip"
|
||||
files="https://github.com/SerenityPorts/stpuzzles/archive/refs/heads/main.zip ${port}.zip"
|
||||
|
||||
configure() {
|
||||
run cmake "${configopts[@]}" -DCMAKE_CXX_FLAGS="-std=c++2a -O2"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue