mirror of
https://github.com/RGBCube/serenity
synced 2025-07-31 01:27:44 +00:00
Ports: Improve consistency and quality of ports
- Replaced /Root with - Improved documentation. - Removed a few typos. - Replaced with - Added brackets in some cases. Most of the changes were reviewed and applied manually.
This commit is contained in:
parent
139288b071
commit
492f7132d2
53 changed files with 115 additions and 117 deletions
|
@ -5,14 +5,14 @@ files="https://github.com/ninja-build/ninja/archive/v${version}.tar.gz ninja-v${
|
|||
auth_type=md5
|
||||
|
||||
build() {
|
||||
CXXFLAGS="--sysroot=${SERENITY_BUILD_DIR}/Root" \
|
||||
LDFLAGS="--sysroot=${SERENITY_BUILD_DIR}/Root" \
|
||||
CXXFLAGS="--sysroot=${SERENITY_INSTALL_ROOT}" \
|
||||
LDFLAGS="--sysroot=${SERENITY_INSTALL_ROOT}" \
|
||||
# platform=linux is close enough.
|
||||
run ./configure.py --bootstrap --platform=linux
|
||||
run strip ninja
|
||||
}
|
||||
|
||||
install() {
|
||||
run mkdir -p "${SERENITY_BUILD_DIR}/Root/usr/local/bin"
|
||||
run cp ninja "${SERENITY_BUILD_DIR}/Root/usr/local/bin/ninja"
|
||||
run mkdir -p "${SERENITY_INSTALL_ROOT}/usr/local/bin"
|
||||
run cp ninja "${SERENITY_INSTALL_ROOT}/usr/local/bin/ninja"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue