-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
383298e
commit 08b3ede
Showing
7 changed files
with
29 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
TERMUX_SUBPKG_DESCRIPTION="Use GNU Compiler Collections as default compiler suit (Version 14)" | ||
TERMUX_SUBPKG_DEPEND_ON_PARENT=no | ||
TERMUX_SUBPKG_DEPENDS="gcc-14" | ||
TERMUX_SUBPKG_BREAKS="gcc-default-9, gcc-default-10, gcc-default-11, gcc-default-12, gcc-default-13" | ||
TERMUX_SUBPKG_CONFLICTS="gcc-default-9, gcc-default-10, gcc-default-11, gcc-default-12, gcc-default-13" | ||
TERMUX_SUBPKG_INCLUDE="share/$TERMUX_PKG_NAME/.placeholder-13" | ||
|
||
termux_step_create_subpkg_debscripts() { | ||
local _GCC_DEFAULT_VERSION=14 | ||
echo "interest-noawait $TERMUX_PREFIX/bin/clang" >> ./triggers | ||
for script_type in postinst prerm; do | ||
sed "s|@TERMUX_PREFIX@|$TERMUX_PREFIX|g" $TERMUX_PKG_BUILDER_DIR/$script_type.sh.in | | ||
sed "s|@TERMUX_PKG_NAME@|$TERMUX_PKG_NAME|g" | | ||
sed "s|@DEFAULT_GCC_VERSION@|$_GCC_DEFAULT_VERSION|g" > ./$script_type | ||
chmod 0755 ./$script_type | ||
done | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters