wok-6.x view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="rust"
4 VERSION="1.31.1"
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/"
10 TARBALL="rust-$VERSION-i686-unknown-linux-gnu.tar.gz"
11 WGET_URL="https://static.rust-lang.org/dist/$TARBALL"
13 SIBLINGS="rust-cargo"
14 BUILD_DEPENDS="wget cacerts"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./install.sh \
20 --prefix=$install/usr \
21 --sysconfdir=$install/etc \
22 --mandir=$install/usr/share/man \
23 --without=rust-docs
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cook_copy_files rust-gdb rustc rustdoc rustc.1* rustdoc.1*
30 mkdir -p $fs/usr
31 cp -a $install/usr/lib $fs/usr
32 find $fs/usr/lib -type f -name '*.so' -exec chmod a+x \{\} \;
33 }