Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 609654 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/dev-lang/rust-bin/rust-bin-1.15.1.ebuild (-8 / +4 lines)
Lines 2-17 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Id$
3
# $Id$
4
4
5
EAPI=5
5
EAPI=6
6
6
7
inherit eutils bash-completion-r1
7
inherit eutils bash-completion-r1 rust-toolchain
8
8
9
MY_P="rust-${PV}"
9
MY_P="rust-${PV}"
10
10
11
DESCRIPTION="Systems programming language from Mozilla"
11
DESCRIPTION="Systems programming language from Mozilla"
12
HOMEPAGE="http://www.rust-lang.org/"
12
HOMEPAGE="http://www.rust-lang.org/"
13
SRC_URI="amd64? ( http://static.rust-lang.org/dist/${MY_P}-x86_64-unknown-linux-gnu.tar.gz )
13
SRC_URI="$(rust_all_arch_uris http://static.rust-lang.org/dist/${MY_P})"
14
	x86? ( http://static.rust-lang.org/dist/${MY_P}-i686-unknown-linux-gnu.tar.gz )"
15
14
16
LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
15
LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
17
SLOT="stable"
16
SLOT="stable"
Lines 33-42 Link Here
33
src_unpack() {
32
src_unpack() {
34
	default
33
	default
35
34
36
	local postfix
35
	mv "${WORKDIR}/${MY_P}-$(rust_abi)" "${S}" || die
37
	use amd64 && postfix=x86_64-unknown-linux-gnu
38
	use x86 && postfix=i686-unknown-linux-gnu
39
	mv "${WORKDIR}/${MY_P}-${postfix}" "${S}" || die
40
}
36
}
41
37
42
src_install() {
38
src_install() {

Return to bug 609654