wok-next annotate rust/receipt @ rev 19472
Add rust.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Nov 01 02:49:13 2016 +0200 (2016-11-01) |
parents | |
children | 8073d596c2c0 |
rev | line source |
---|---|
al@19472 | 1 # SliTaz package receipt. |
al@19472 | 2 |
al@19472 | 3 PACKAGE="rust" |
al@19472 | 4 VERSION="1.12.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@19472 | 10 TARBALL="rust-$VERSION-i686-unknown-linux-gnu.tar.gz" |
al@19472 | 11 WGET_URL="https://static.rust-lang.org/dist/$TARBALL" |
al@19472 | 12 |
al@19472 | 13 SIBLINGS="rust-doc rust-cargo" |
al@19472 | 14 |
al@19472 | 15 # Rules to configure and make the package. |
al@19472 | 16 compile_rules() |
al@19472 | 17 { |
al@19472 | 18 ./install.sh \ |
al@19472 | 19 --prefix=$install/usr \ |
al@19472 | 20 --mandir=$install/usr/share/man |
al@19472 | 21 } |
al@19472 | 22 |
al@19472 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19472 | 24 genpkg_rules() |
al@19472 | 25 { |
al@19472 | 26 cook_copy_files rust-gdb rustc rustdoc rustc.1* rustdoc.1* |
al@19472 | 27 mkdir -p $fs/usr |
al@19472 | 28 cp -a $install/usr/lib $fs/usr |
al@19472 | 29 find $fs/usr/lib -type f -name '*.so' -exec chmod a+x \{\} \; |
al@19472 | 30 } |