wok annotate rust/receipt @ rev 22796
updated gammu and gammu-dev (1.40.0 -> 1.41.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jan 27 10:15:18 2020 +0100 (2020-01-27) |
parents | f729a14d0687 |
children | dbdacb7fd60c |
rev | line source |
---|---|
al@19472 | 1 # SliTaz package receipt. |
al@19472 | 2 |
al@19472 | 3 PACKAGE="rust" |
Hans-G?nter@21857 | 4 VERSION="1.37.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 |
al@19472 | 38 cp -a $install/usr/lib $fs/usr |
al@19472 | 39 find $fs/usr/lib -type f -name '*.so' -exec chmod a+x \{\} \; |
al@19472 | 40 } |