wok-next annotate 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
rev   line source
al@19741 1 # SliTaz package receipt v2.
al@19472 2
al@19472 3 PACKAGE="rust"
al@20443 4 VERSION="1.23.0"
al@19472 5 CATEGORY="development"
al@19472 6 SHORT_DESC="The Rust programming language"
al@19472 7 MAINTAINER="al.bobylev@gmail.com"
al@19472 8 LICENSE="MIT Apache BSD"
al@19472 9 WEB_SITE="https://www.rust-lang.org/"
al@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/rust.html"
al@20443 11 HOST_ARCH="i486 x86_64"
al@19620 12
al@20443 13 TARBALL="rust-$VERSION-${ARCH/i486/i686}-unknown-linux-gnu.tar.gz"
al@19472 14 WGET_URL="https://static.rust-lang.org/dist/$TARBALL"
al@19472 15
al@20443 16 # Available targets we interest in: https://forge.rust-lang.org/platform-support.html
al@20443 17 # i686-unknown-linux-gnu | 32-bit Linux
al@20443 18 # x86_64-unknown-linux-gnu | 64-bit Linux
al@20443 19 # arm-unknown-linux-gnueabi | ARMv6 Linux
al@20443 20 # arm-unknown-linux-gnueabihf | ARMv6 Linux, hardfloat
al@20443 21 # armv7-unknown-linux-gnueabihf | ARMv7 Linux
al@20443 22
al@20647 23 # BLFS described how to compile Rust from sources...
al@20647 24
al@20443 25 compile_rules() {
al@19472 26 ./install.sh \
al@19472 27 --prefix=$install/usr \
al@19835 28 --sysconfdir=$install/etc \
al@19835 29 --mandir=$install/usr/share/man \
al@19835 30 --without=rust-docs
al@19472 31 }
al@19472 32
al@20443 33 genpkg_rules() {
al@19835 34 copy @std
al@19472 35 }