wok-next annotate rust/receipt @ rev 19675

Update some build dependencies
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 24 12:53:44 2017 +0200 (2017-03-24)
parents f581737088ed
children 9278a60d6895
rev   line source
al@19472 1 # SliTaz package receipt.
al@19472 2
al@19472 3 PACKAGE="rust"
al@19620 4 VERSION="1.15.0"
al@19472 5 CATEGORY="development"
al@19472 6 SHORT_DESC="The Rust programming language"
al@19472 7 MAINTAINER="al.bobylev@gmail.com"
al@19472 8 LICENSE="MIT Apache BSD"
al@19472 9 WEB_SITE="https://www.rust-lang.org/"
al@19620 10
al@19472 11 TARBALL="rust-$VERSION-i686-unknown-linux-gnu.tar.gz"
al@19472 12 WGET_URL="https://static.rust-lang.org/dist/$TARBALL"
al@19472 13
al@19472 14 SIBLINGS="rust-doc rust-cargo"
al@19620 15 SPLIT="rust-cargo rust-doc"
al@19472 16
al@19472 17 # Rules to configure and make the package.
al@19472 18 compile_rules()
al@19472 19 {
al@19472 20 ./install.sh \
al@19472 21 --prefix=$install/usr \
al@19472 22 --mandir=$install/usr/share/man
al@19472 23 }
al@19472 24
al@19472 25 # Rules to gen a SliTaz package suitable for Tazpkg.
al@19472 26 genpkg_rules()
al@19472 27 {
al@19472 28 cook_copy_files rust-gdb rustc rustdoc rustc.1* rustdoc.1*
al@19472 29 mkdir -p $fs/usr
al@19472 30 cp -a $install/usr/lib $fs/usr
al@19472 31 find $fs/usr/lib -type f -name '*.so' -exec chmod a+x \{\} \;
al@19472 32 }