wok view rust/receipt @ rev 19813

Up gnuradio (3.7.10.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 28 11:54:34 2017 +0100 (2017-02-28)
parents 8073d596c2c0
children f729a14d0687
line source
1 # SliTaz package receipt.
3 PACKAGE="rust"
4 VERSION="1.12.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-doc 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 --mandir=$install/usr/share/man
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cook_copy_files rust-gdb rustc rustdoc rustc.1* rustdoc.1*
28 mkdir -p $fs/usr
29 cp -a $install/usr/lib $fs/usr
30 find $fs/usr/lib -type f -name '*.so' -exec chmod a+x \{\} \;
31 }