wok-next annotate rust/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | 28fcffb1f6b3 |
children |
rev | line source |
---|---|
al@19741 | 1 # SliTaz package receipt v2. |
al@19472 | 2 |
al@19472 | 3 PACKAGE="rust" |
al@21089 | 4 VERSION="1.31.1" |
al@19472 | 5 CATEGORY="development" |
al@19472 | 6 SHORT_DESC="The Rust programming language" |
al@19472 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19472 | 8 LICENSE="MIT Apache BSD" |
al@19472 | 9 WEB_SITE="https://www.rust-lang.org/" |
al@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/rust.html" |
al@19620 | 11 |
al@21090 | 12 case $ARCH in |
al@21090 | 13 i?86) |
al@21090 | 14 TARBALL="rust-$VERSION-i686-unknown-linux-gnu.tar.gz" |
al@21090 | 15 TARBALL_SHA1="7c541dff034b661fc7481c032eeca1f555dbeafa" |
al@21090 | 16 ;; |
al@21090 | 17 x86_64) |
al@21090 | 18 TARBALL="rust-$VERSION-x86_64-unknown-linux-gnu.tar.gz" |
al@21090 | 19 TARBALL_SHA1="6726f6e566b3af58f43ea65cf8f9a7c05210dc7a" |
al@21090 | 20 ;; |
al@21090 | 21 esac |
al@19472 | 22 WGET_URL="https://static.rust-lang.org/dist/$TARBALL" |
al@19472 | 23 |
al@20443 | 24 # Available targets we interest in: https://forge.rust-lang.org/platform-support.html |
al@20443 | 25 # i686-unknown-linux-gnu | 32-bit Linux |
al@20443 | 26 # x86_64-unknown-linux-gnu | 64-bit Linux |
al@20443 | 27 # arm-unknown-linux-gnueabi | ARMv6 Linux |
al@20443 | 28 # arm-unknown-linux-gnueabihf | ARMv6 Linux, hardfloat |
al@20443 | 29 # armv7-unknown-linux-gnueabihf | ARMv7 Linux |
al@20443 | 30 |
al@20647 | 31 # BLFS described how to compile Rust from sources... |
al@20647 | 32 |
al@20443 | 33 compile_rules() { |
al@19472 | 34 ./install.sh \ |
al@19472 | 35 --prefix=$install/usr \ |
al@19835 | 36 --sysconfdir=$install/etc \ |
al@19835 | 37 --mandir=$install/usr/share/man \ |
al@19835 | 38 --without=rust-docs |
al@19472 | 39 } |