cargo: update to 0.3.0.

This commit is contained in:
Christian Neukirchen 2015-06-29 11:53:15 +02:00
parent 9f5b24b4a9
commit 1de91493ce
1 changed files with 8 additions and 8 deletions

View File

@ -1,8 +1,8 @@
# Template file for 'cargo'
pkgname=cargo
version=0.2.0
version=0.3.0
revision=1
_githash_installer=ebc6b04c29591108d3f28e724b4b9b74cd1232e6
_githash_installer=e54d4823d26cdb3f98e5a1b17e1c257cd329aa61
build_style=gnu-configure
hostmakedepends="rust python curl cmake pkg-config"
makedepends="libressl-devel zlib-devel"
@ -13,18 +13,18 @@ license="MIT, Apache-2.0"
homepage="https://crates.io/"
distfiles="https://github.com/rust-lang/${pkgname}/archive/${version}.tar.gz
https://github.com/rust-lang/rust-installer/archive/${_githash_installer}.tar.gz"
checksum="49294406ea9335d2f18082511eafcd6b6326fa595be090cc6bfa13c9deab45d9
a6f119be6105b911131eb89e6919dfa08fa849e6f5bc46ced24adc2075d39b71"
checksum="fb49062c5f8646a05b363395237d4399d3b693b89b849a197b1e8e02072dbd49
af21c4519cf8099d79e80b73af513dd92d5da490e0c2497639cb1221072ea282"
nocross=yes
pre_configure() {
configure_args+=" --host=${XBPS_TRIPLET/-pc-/-unknown-} --build=${XBPS_TRIPLET/-pc-/-unknown-}"
}
post_extract() {
rm -rf src/rust-installer
mv ../rust-installer-${_githash_installer} src/rust-installer
}
pre_configure() {
configure_args+=" --host=${XBPS_TRIPLET/-pc-/-unknown-} --build=${XBPS_TRIPLET/-pc-/-unknown-}"
sed -i '/not recognized/s/err/warn/' configure
}
post_install() {
rm -rf ${DESTDIR}/usr/lib/rustlib ${DESTDIR}/usr/share/doc/cargo
vlicense LICENSE-APACHE