ports: Allow build scripts install to custom path

This will maybe allow packaging ports :)
This commit is contained in:
2026-05-25 15:52:22 +03:00
parent c79e412215
commit bb170ba613
50 changed files with 92 additions and 82 deletions

View File

@@ -21,6 +21,6 @@ build() {
}
install() {
cmake --install build || exit 1
cp $BANAN_TOOLCHAIN_DIR/cmake-platform/* $BANAN_SYSROOT/usr/share/cmake-3.26/Modules/Platform/
DESTDIR="$DESTDIR" cmake --install build || exit 1
cp $BANAN_TOOLCHAIN_DIR/cmake-platform/* $DESTDIR/usr/share/cmake-3.26/Modules/Platform/
}