wok-next view rust/receipt @ rev 20678

Up clisp (2.50)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue May 15 02:59:03 2018 +0300 (2018-05-15)
parents 0e7893ac206d
children f48456621a9d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="rust"
4 VERSION="1.23.0"
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/stable/general/rust.html"
11 HOST_ARCH="i486 x86_64"
13 TARBALL="rust-$VERSION-${ARCH/i486/i686}-unknown-linux-gnu.tar.gz"
14 WGET_URL="https://static.rust-lang.org/dist/$TARBALL"
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 }
33 genpkg_rules() {
34 copy @std
35 }