wok-next view rust/receipt @ rev 21066
Switch some python packages to traditional build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 06 13:30:23 2018 +0200 (2018-12-06) |
parents | f48456621a9d |
children | 28fcffb1f6b3 |
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"
12 TARBALL="rust-$VERSION-${ARCH/i486/i686}-unknown-linux-gnu.tar.gz"
13 WGET_URL="https://static.rust-lang.org/dist/$TARBALL"
15 # Available targets we interest in: https://forge.rust-lang.org/platform-support.html
16 # i686-unknown-linux-gnu | 32-bit Linux
17 # x86_64-unknown-linux-gnu | 64-bit Linux
18 # arm-unknown-linux-gnueabi | ARMv6 Linux
19 # arm-unknown-linux-gnueabihf | ARMv6 Linux, hardfloat
20 # armv7-unknown-linux-gnueabihf | ARMv7 Linux
22 # BLFS described how to compile Rust from sources...
24 compile_rules() {
25 ./install.sh \
26 --prefix=$install/usr \
27 --sysconfdir=$install/etc \
28 --mandir=$install/usr/share/man \
29 --without=rust-docs
30 }
32 genpkg_rules() {
33 copy @std
34 }