wok rev 19472
Add rust.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Nov 01 02:49:13 2016 +0200 (2016-11-01) |
parents | 6ba33cccff9d |
children | cb3ac397db94 |
files | rust-cargo/receipt rust-doc/receipt rust/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/rust-cargo/receipt Tue Nov 01 02:49:13 2016 +0200 1.3 @@ -0,0 +1,19 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="rust-cargo" 1.7 +VERSION="1.12.0" 1.8 +CATEGORY="doc" 1.9 +SHORT_DESC="The Rust package manager" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="MIT Apache BSD" 1.12 +WEB_SITE="https://www.rust-lang.org/" 1.13 + 1.14 +WANTED="rust" 1.15 +DEPENDS="rust" 1.16 +SIBLINGS="rust rust-doc" 1.17 + 1.18 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.19 +genpkg_rules() 1.20 +{ 1.21 + cook_copy_files cargo* 1.22 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/rust-doc/receipt Tue Nov 01 02:49:13 2016 +0200 2.3 @@ -0,0 +1,19 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="rust-doc" 2.7 +VERSION="1.12.0" 2.8 +CATEGORY="doc" 2.9 +SHORT_DESC="The Rust programming language documentation" 2.10 +MAINTAINER="al.bobylev@gmail.com" 2.11 +LICENSE="MIT Apache BSD" 2.12 +WEB_SITE="https://www.rust-lang.org/" 2.13 + 2.14 +WANTED="rust" 2.15 +SIBLINGS="rust rust-cargo" 2.16 + 2.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.18 +genpkg_rules() 2.19 +{ 2.20 + mkdir -p $fs/usr/share 2.21 + cp -a $install/usr/share/doc $fs/usr/share 2.22 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/rust/receipt Tue Nov 01 02:49:13 2016 +0200 3.3 @@ -0,0 +1,30 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="rust" 3.7 +VERSION="1.12.0" 3.8 +CATEGORY="development" 3.9 +SHORT_DESC="The Rust programming language" 3.10 +MAINTAINER="al.bobylev@gmail.com" 3.11 +LICENSE="MIT Apache BSD" 3.12 +WEB_SITE="https://www.rust-lang.org/" 3.13 +TARBALL="rust-$VERSION-i686-unknown-linux-gnu.tar.gz" 3.14 +WGET_URL="https://static.rust-lang.org/dist/$TARBALL" 3.15 + 3.16 +SIBLINGS="rust-doc rust-cargo" 3.17 + 3.18 +# Rules to configure and make the package. 3.19 +compile_rules() 3.20 +{ 3.21 + ./install.sh \ 3.22 + --prefix=$install/usr \ 3.23 + --mandir=$install/usr/share/man 3.24 +} 3.25 + 3.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.27 +genpkg_rules() 3.28 +{ 3.29 + cook_copy_files rust-gdb rustc rustdoc rustc.1* rustdoc.1* 3.30 + mkdir -p $fs/usr 3.31 + cp -a $install/usr/lib $fs/usr 3.32 + find $fs/usr/lib -type f -name '*.so' -exec chmod a+x \{\} \; 3.33 +}