wok view rust/receipt @ rev 23973

Up openconnect (8.10), openexr (2.5.3), openldap (2.4.55), openssh (8.4p1), openvswitch (2.14.0), phpmyadmin (5.0.4), rust (1.47.0), shellinabox (2.21)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 28 12:04:50 2020 +0000 (2020-10-28)
parents dbdacb7fd60c
children 2f230197370e
line source
1 # SliTaz package receipt.
3 PACKAGE="rust"
4 VERSION="1.47.0"
5 CATEGORY="development"
6 SHORT_DESC="The Rust programming language."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT Apache BSD"
9 WEB_SITE="https://www.rust-lang.org/"
11 TARBALL="rust-$VERSION-i686-unknown-linux-gnu.tar.gz"
12 WGET_URL="https://static.rust-lang.org/dist/$TARBALL"
14 SIBLINGS="rust-cargo"
15 BUILD_DEPENDS="cacerts"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./install.sh \
21 --prefix=$install/usr \
22 --sysconfdir=$install/etc \
23 --mandir=$install/usr/share/man \
24 --without=rust-docs
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cook_copy_files \
31 rust-gdb \
32 rustc \
33 rustdoc \
34 rustc.1* \
35 rustdoc.1*
37 mkdir -p $fs/usr
39 cp -a $install/usr/lib $fs/usr
40 find $fs/usr/lib -type f -name '*.so' -exec chmod a+x \{\} \;
41 }