25 lines
1 KiB
Makefile
25 lines
1 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="cargo-snapshot"
|
|
PKG_VERSION="$(get_pkg_version rust)"
|
|
PKG_LICENSE="MIT"
|
|
PKG_SITE="https://www.rust-lang.org"
|
|
PKG_LONGDESC="cargo bootstrap package"
|
|
PKG_TOOLCHAIN="manual"
|
|
|
|
case "${MACHINE_HARDWARE_NAME}" in
|
|
"aarch64")
|
|
PKG_SHA256="be9d4ffb39e0e39758fca3bf8ef4e98a2de6411cb6ee4e45eff3810316cba93d"
|
|
PKG_URL="https://static.rust-lang.org/dist/cargo-${PKG_VERSION}-${MACHINE_HARDWARE_NAME}-unknown-linux-gnu.tar.xz"
|
|
;;
|
|
"arm")
|
|
PKG_SHA256="d64e60f493788a8577b6f8d715d89f348630ed5fcbc61909740289e5a6971072"
|
|
PKG_URL="https://static.rust-lang.org/dist/cargo-${PKG_VERSION}-${MACHINE_HARDWARE_NAME}-unknown-linux-gnueabihf.tar.xz"
|
|
;;
|
|
"x86_64")
|
|
PKG_SHA256="55760c2f20356fe5cb2a4aa105e20693a573048f1dbc9daa41a0983fc0930b15"
|
|
PKG_URL="https://static.rust-lang.org/dist/cargo-${PKG_VERSION}-${MACHINE_HARDWARE_NAME}-unknown-linux-gnu.tar.xz"
|
|
;;
|
|
esac
|
|
PKG_SOURCE_NAME="cargo-snapshot_${PKG_VERSION}_${ARCH}.tar.xz"
|