Skip to content

Commit

Permalink
[rust-nightly] Update & modernize Plan style.
Browse files Browse the repository at this point in the history
Signed-off-by: Fletcher Nichol <fnichol@nichol.ca>
  • Loading branch information
fnichol committed Jun 7, 2018
1 parent 4fa043a commit 57c0d9d
Showing 1 changed file with 21 additions and 6 deletions.
27 changes: 21 additions & 6 deletions rust-nightly/plan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,31 @@ pkg_name=rust-nightly
_distname=rust
pkg_origin=core
pkg_maintainer="The Habitat Maintainers <humans@habitat.sh>"
pkg_description="Safe, concurrent, practical language"
pkg_description="\
Rust is a systems programming language that runs blazingly fast, prevents \
segfaults, and guarantees thread safety.\
"
pkg_upstream_url="https://www.rust-lang.org/"
pkg_license=('Apache-2.0' 'MIT')
_url_base=http://static.rust-lang.org/dist
pkg_source=$_url_base/${_distname}-nightly-x86_64-unknown-linux-gnu.tar.gz
pkg_dirname=${_distname}-nightly-x86_64-unknown-linux-gnu
_url_base="http://static.rust-lang.org/dist"
pkg_source="$_url_base/${_distname}-nightly-x86_64-unknown-linux-gnu.tar.gz"
pkg_dirname="${_distname}-nightly-x86_64-unknown-linux-gnu"
pkg_deps=(
core/glibc
core/gcc-libs
core/zlib
core/gcc
core/cacerts
core/busybox-static
)
pkg_build_deps=(
core/patchelf
core/findutils
core/coreutils
core/sed
)
pkg_bin_dirs=(bin)
pkg_lib_dirs=(lib)
pkg_deps=(core/glibc core/gcc-libs core/zlib core/gcc core/cacerts core/busybox-static)
pkg_build_deps=(core/patchelf core/findutils core/coreutils core/sed)

_target_sources=(
$_url_base/${_distname}-std-nightly-x86_64-unknown-linux-musl.tar.gz
Expand Down

0 comments on commit 57c0d9d

Please sign in to comment.