wok-next view rust/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | 1ff723a6455b |
children | d5aab818505e |
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/svn/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 }