wok-next diff 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 diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/rust/receipt Tue Nov 01 02:49:13 2016 +0200 1.3 @@ -0,0 +1,30 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="rust" 1.7 +VERSION="1.12.0" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="The Rust programming language" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="MIT Apache BSD" 1.12 +WEB_SITE="https://www.rust-lang.org/" 1.13 +TARBALL="rust-$VERSION-i686-unknown-linux-gnu.tar.gz" 1.14 +WGET_URL="https://static.rust-lang.org/dist/$TARBALL" 1.15 + 1.16 +SIBLINGS="rust-doc rust-cargo" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + ./install.sh \ 1.22 + --prefix=$install/usr \ 1.23 + --mandir=$install/usr/share/man 1.24 +} 1.25 + 1.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.27 +genpkg_rules() 1.28 +{ 1.29 + cook_copy_files rust-gdb rustc rustdoc rustc.1* rustdoc.1* 1.30 + mkdir -p $fs/usr 1.31 + cp -a $install/usr/lib $fs/usr 1.32 + find $fs/usr/lib -type f -name '*.so' -exec chmod a+x \{\} \; 1.33 +}