rust: split rustlib into rust-std

[ci skip]
This commit is contained in:
Rasmus Thomsen 2018-10-15 11:23:12 +02:00 committed by Enno Boland
parent 2114bf704b
commit 21d13de728
2 changed files with 11 additions and 2 deletions

1
srcpkgs/rust-std Symbolic link
View file

@ -0,0 +1 @@
rust

View file

@ -1,7 +1,7 @@
# Template file for 'rust'
pkgname=rust
version=1.28.0
revision=3
revision=4
_rust_dist_version=1.28.0
_cargo_dist_version=0.30.0
# NB. if you push any(!) new version, don't forget to put a build
@ -13,6 +13,7 @@ build_style=configure
make_build_args="dist VERBOSE=1"
hostmakedepends="cmake curl pkg-config python"
makedepends="libffi-devel llvm ncurses-devel libxml2-devel zlib-devel"
depends="rust-std"
short_desc="Safe, concurrent, practical systems language"
maintainer="Enno Boland <gottox@voidlinux.eu>"
homepage="https://www.rust-lang.org/"
@ -24,7 +25,7 @@ if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" cargo llvm"
# These are required for building the buildhost's stage0/1
hostmakedepends+=" libffi-devel libxml2-devel
hostmakedepends+=" libffi-devel libxml2-devel
ncurses-devel zlib-devel"
else
case "$XBPS_MACHINE" in
@ -195,3 +196,10 @@ rust-doc_package() {
vmove usr/share/doc
}
}
rust-std_package() {
short_desc+=" - standard library"
pkg_install() {
vmove usr/lib/rustlib
}
}