wok-6.x annotate rust/receipt @ rev 20555
Up libgcrypt-dev (1.8.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 12 15:52:57 2018 +0100 (2018-12-12) |
parents | 8073d596c2c0 |
children | f729a14d0687 |
rev | line source |
---|---|
al@19472 | 1 # SliTaz package receipt. |
al@19472 | 2 |
al@19472 | 3 PACKAGE="rust" |
al@19476 | 4 VERSION="1.12.1" |
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@19477 | 14 BUILD_DEPENDS="wget cacerts" |
al@19472 | 15 |
al@19472 | 16 # Rules to configure and make the package. |
al@19472 | 17 compile_rules() |
al@19472 | 18 { |
al@19472 | 19 ./install.sh \ |
al@19472 | 20 --prefix=$install/usr \ |
al@19472 | 21 --mandir=$install/usr/share/man |
al@19472 | 22 } |
al@19472 | 23 |
al@19472 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19472 | 25 genpkg_rules() |
al@19472 | 26 { |
al@19472 | 27 cook_copy_files rust-gdb rustc rustdoc rustc.1* rustdoc.1* |
al@19472 | 28 mkdir -p $fs/usr |
al@19472 | 29 cp -a $install/usr/lib $fs/usr |
al@19472 | 30 find $fs/usr/lib -type f -name '*.so' -exec chmod a+x \{\} \; |
al@19472 | 31 } |