wok view rust/receipt @ rev 25672

Up minidlna (1.3.3), phpmyadmin (5.2.1), pidgin (2.14.13), redis (7.2.4), rsync (3.2.7), rust (1.76.0), screen (4.9.1), squashfs (4.6.1), squid (6.7), stunnel (5.72), tcpdump (4.99.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 26 14:07:44 2024 +0000 (2 months ago)
parents 602fe1a031b1
children
line source
1 # SliTaz package receipt.
3 PACKAGE="rust"
4 VERSION="1.76.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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed '/ersion/!d;s|.*ion ||;s|<.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./install.sh \
28 --prefix=$install/usr \
29 --sysconfdir=$install/etc \
30 --mandir=$install/usr/share/man \
31 --without=rust-docs
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cook_copy_files \
38 rust-gdb \
39 rustc \
40 rustdoc \
41 rustc.1* \
42 rustdoc.1*
44 mkdir -p $fs/usr
46 cp -a $install/usr/lib $fs/usr
47 find $fs/usr/lib -type f -name '*.so' -exec chmod a+x \{\} \;
48 }