wok-6.x annotate rust/receipt @ rev 20977
updated glpi (0.80.7 -> 9.4.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 05 17:24:52 2019 +0100 (2019-03-05) |
parents | f581737088ed |
children | 76553471f1b5 |
rev | line source |
---|---|
al@19472 | 1 # SliTaz package receipt. |
al@19472 | 2 |
al@19472 | 3 PACKAGE="rust" |
pascal@20623 | 4 VERSION="1.31.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 |
pascal@20623 | 13 SIBLINGS="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 \ |
pascal@20623 | 21 --sysconfdir=$install/etc \ |
pascal@20623 | 22 --mandir=$install/usr/share/man \ |
pascal@20623 | 23 --without=rust-docs |
al@19472 | 24 } |
al@19472 | 25 |
al@19472 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19472 | 27 genpkg_rules() |
al@19472 | 28 { |
al@19472 | 29 cook_copy_files rust-gdb rustc rustdoc rustc.1* rustdoc.1* |
al@19472 | 30 mkdir -p $fs/usr |
al@19472 | 31 cp -a $install/usr/lib $fs/usr |
al@19472 | 32 find $fs/usr/lib -type f -name '*.so' -exec chmod a+x \{\} \; |
al@19472 | 33 } |