wok annotate rust/receipt @ rev 24422
updated claws-mail packages (3.17.5 -> 3.18.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 11 16:39:51 2022 +0100 (2022-02-11) |
parents | dbdacb7fd60c |
children | 2f230197370e |
rev | line source |
---|---|
al@19472 | 1 # SliTaz package receipt. |
al@19472 | 2 |
al@19472 | 3 PACKAGE="rust" |
pascal@23973 | 4 VERSION="1.47.0" |
al@19472 | 5 CATEGORY="development" |
Hans-G?nter@21857 | 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/" |
Hans-G?nter@21857 | 10 |
al@19472 | 11 TARBALL="rust-$VERSION-i686-unknown-linux-gnu.tar.gz" |
al@19472 | 12 WGET_URL="https://static.rust-lang.org/dist/$TARBALL" |
al@19472 | 13 |
pascal@20623 | 14 SIBLINGS="rust-cargo" |
Hans-G?nter@21857 | 15 BUILD_DEPENDS="cacerts" |
al@19472 | 16 |
al@19472 | 17 # Rules to configure and make the package. |
al@19472 | 18 compile_rules() |
al@19472 | 19 { |
Hans-G?nter@21857 | 20 ./install.sh \ |
Hans-G?nter@21857 | 21 --prefix=$install/usr \ |
Hans-G?nter@21857 | 22 --sysconfdir=$install/etc \ |
Hans-G?nter@21857 | 23 --mandir=$install/usr/share/man \ |
pascal@20623 | 24 --without=rust-docs |
al@19472 | 25 } |
al@19472 | 26 |
al@19472 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19472 | 28 genpkg_rules() |
al@19472 | 29 { |
Hans-G?nter@21857 | 30 cook_copy_files \ |
Hans-G?nter@21857 | 31 rust-gdb \ |
Hans-G?nter@21857 | 32 rustc \ |
Hans-G?nter@21857 | 33 rustdoc \ |
Hans-G?nter@21857 | 34 rustc.1* \ |
Hans-G?nter@21857 | 35 rustdoc.1* |
Hans-G?nter@21857 | 36 |
al@19472 | 37 mkdir -p $fs/usr |
Hans-G?nter@23628 | 38 |
Hans-G?nter@23628 | 39 cp -a $install/usr/lib $fs/usr |
al@19472 | 40 find $fs/usr/lib -type f -name '*.so' -exec chmod a+x \{\} \; |
al@19472 | 41 } |