wok-next view rust/receipt @ rev 19620

Up perl-test-pod, perl-yaml-syck, xmlto, rust, svgcleaner.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Feb 07 19:04:50 2017 +0200 (2017-02-07)
parents f581737088ed
children 9278a60d6895
line source
1 # SliTaz package receipt.
3 PACKAGE="rust"
4 VERSION="1.15.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-doc rust-cargo"
15 SPLIT="rust-cargo rust-doc"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./install.sh \
21 --prefix=$install/usr \
22 --mandir=$install/usr/share/man
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cook_copy_files rust-gdb rustc rustdoc rustc.1* rustdoc.1*
29 mkdir -p $fs/usr
30 cp -a $install/usr/lib $fs/usr
31 find $fs/usr/lib -type f -name '*.so' -exec chmod a+x \{\} \;
32 }