wok-next view rust/receipt @ rev 21089
Update rust
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Dec 29 04:32:03 2018 +0200 (2018-12-29) |
parents | d5aab818505e |
children | ea03c23c69e3 |
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 TARBALL="rust-$VERSION-${ARCH/i486/i686}-unknown-linux-gnu.tar.gz"
13 WGET_URL="https://static.rust-lang.org/dist/$TARBALL"
14 TARBALL_SHA1="6726f6e566b3af58f43ea65cf8f9a7c05210dc7a"
16 # Available targets we interest in: https://forge.rust-lang.org/platform-support.html
17 # i686-unknown-linux-gnu | 32-bit Linux
18 # x86_64-unknown-linux-gnu | 64-bit Linux
19 # arm-unknown-linux-gnueabi | ARMv6 Linux
20 # arm-unknown-linux-gnueabihf | ARMv6 Linux, hardfloat
21 # armv7-unknown-linux-gnueabihf | ARMv7 Linux
23 # BLFS described how to compile Rust from sources...
25 compile_rules() {
26 ./install.sh \
27 --prefix=$install/usr \
28 --sysconfdir=$install/etc \
29 --mandir=$install/usr/share/man \
30 --without=rust-docs
31 }