wok annotate rust/receipt @ rev 24593

updated geos and geos-dev (3.8.0 -> 3.10.2)
author Hans-G?nter Theisgen
date Tue Mar 01 13:55:15 2022 +0100 (2022-03-01)
parents 848e2021d813
children cd6fc250348b
rev   line source
al@19472 1 # SliTaz package receipt.
al@19472 2
al@19472 3 PACKAGE="rust"
pascal@23973 4 VERSION="1.47.0"
al@19472 5 CATEGORY="development"
Hans-G?nter@21857 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/"
Hans-G?nter@21857 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
pascal@20623 14 SIBLINGS="rust-cargo"
Hans-G?nter@21857 15 BUILD_DEPENDS="cacerts"
al@19472 16
pascal@24459 17 # What is the latest version available today?
pascal@24459 18 current_version()
pascal@24459 19 {
pascal@24459 20 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24459 21 sed '/ersion/!d;s|.*ion ||;s|<.*||;q'
pascal@24459 22 }
pascal@24459 23
al@19472 24 # Rules to configure and make the package.
al@19472 25 compile_rules()
al@19472 26 {
Hans-G?nter@21857 27 ./install.sh \
Hans-G?nter@21857 28 --prefix=$install/usr \
Hans-G?nter@21857 29 --sysconfdir=$install/etc \
Hans-G?nter@21857 30 --mandir=$install/usr/share/man \
pascal@20623 31 --without=rust-docs
al@19472 32 }
al@19472 33
al@19472 34 # Rules to gen a SliTaz package suitable for Tazpkg.
al@19472 35 genpkg_rules()
al@19472 36 {
Hans-G?nter@21857 37 cook_copy_files \
Hans-G?nter@21857 38 rust-gdb \
Hans-G?nter@21857 39 rustc \
Hans-G?nter@21857 40 rustdoc \
Hans-G?nter@21857 41 rustc.1* \
Hans-G?nter@21857 42 rustdoc.1*
Hans-G?nter@21857 43
al@19472 44 mkdir -p $fs/usr
Hans-G?nter@23628 45
Hans-G?nter@23628 46 cp -a $install/usr/lib $fs/usr
al@19472 47 find $fs/usr/lib -type f -name '*.so' -exec chmod a+x \{\} \;
al@19472 48 }