mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-17 00:03:37 +00:00
new package: llvm-mingw-w64-libcompiler-rt
This commit is contained in:
20
packages/llvm-mingw-w64-libcompiler-rt/build.sh
Normal file
20
packages/llvm-mingw-w64-libcompiler-rt/build.sh
Normal file
@@ -0,0 +1,20 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://gcc.gnu.org/
|
||||
TERMUX_PKG_DESCRIPTION="Compiler runtime libraries for LLVM-MinGW"
|
||||
TERMUX_PKG_LICENSE="Apache-2.0"
|
||||
TERMUX_PKG_MAINTAINER="@licy183"
|
||||
TERMUX_PKG_VERSION=20220906
|
||||
TERMUX_PKG_SRCURL=https://github.com/mstorsjo/llvm-mingw/releases/download/$TERMUX_PKG_VERSION/llvm-mingw-$TERMUX_PKG_VERSION-ucrt-ubuntu-18.04-x86_64.tar.xz
|
||||
TERMUX_PKG_SHA256=ee00708bdd65eeaa88d5fa89ad7e3fa1d6bae8093ee4559748e431e55f7568ec
|
||||
TERMUX_PKG_PLATFORM_INDEPENDENT=true
|
||||
TERMUX_PKG_NO_STATICSPLIT=true
|
||||
|
||||
termux_step_make_install() {
|
||||
# Install compier-rt libraries
|
||||
mkdir -p $TERMUX_PREFIX/opt/llvm-mingw-w64/opt/compiler-rt/
|
||||
mv $TERMUX_PKG_SRCDIR/lib/clang/*/lib/windows $TERMUX_PREFIX/opt/llvm-mingw-w64/opt/compiler-rt/
|
||||
}
|
||||
|
||||
termux_step_install_license() {
|
||||
mkdir -p $TERMUX_PREFIX/share/doc/$TERMUX_PKG_NAME
|
||||
cp $TERMUX_PKG_SRCDIR/LICENSE.TXT $TERMUX_PREFIX/share/doc/$TERMUX_PKG_NAME/
|
||||
}
|
||||
Reference in New Issue
Block a user