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