wok-next view rust/receipt @ rev 19472

Add rust.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Nov 01 02:49:13 2016 +0200 (2016-11-01)
parents
children 8073d596c2c0
line source
1 # SliTaz package receipt.
3 PACKAGE="rust"
4 VERSION="1.12.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/"
10 TARBALL="rust-$VERSION-i686-unknown-linux-gnu.tar.gz"
11 WGET_URL="https://static.rust-lang.org/dist/$TARBALL"
13 SIBLINGS="rust-doc rust-cargo"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 ./install.sh \
19 --prefix=$install/usr \
20 --mandir=$install/usr/share/man
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 cook_copy_files rust-gdb rustc rustdoc rustc.1* rustdoc.1*
27 mkdir -p $fs/usr
28 cp -a $install/usr/lib $fs/usr
29 find $fs/usr/lib -type f -name '*.so' -exec chmod a+x \{\} \;
30 }