Fix build of rust and mtd-utils (blame me)
This commit is contained in:
parent
e130de28f2
commit
fb9df1f9b8
|
@ -1,8 +1,8 @@
|
|||
# Template build file for 'mtd-utils'.
|
||||
pkgname=mtd-utils
|
||||
version=1.5.0
|
||||
revision=2
|
||||
makedepends="zlib-devel lzo-devel acl-devel libuuid-devel"
|
||||
revision=4
|
||||
makedepends="zlib-devel lzo-devel acl-devel libuuid-devel liblzma-devel"
|
||||
short_desc="Memory Technology Device Utilities"
|
||||
maintainer="pancake <pancake@nopcode.org>"
|
||||
license="GPL-2"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'rust'
|
||||
pkgname=rust
|
||||
version=0.5
|
||||
version=0.6
|
||||
revision=1
|
||||
makedepends="which pkg-config perl curl python chrpath"
|
||||
short_desc="A safe, concurrent, practical language"
|
||||
|
@ -8,13 +8,12 @@ maintainer="pancake <pancake@nopcode.org>"
|
|||
homepage="http://www.rust-lang.org/"
|
||||
license="MIT, Apache-2.0"
|
||||
distfiles="http://static.rust-lang.org/dist/rust-${version}.tar.gz"
|
||||
checksum=d326d22707f0562d669c11efbc33ae812ddbf76ab78f07087fc5beb095a8928a
|
||||
checksum=e11cb529a1e20f27d99033181a9e0e131817136b46d2742f0fa1afa1210053e5
|
||||
|
||||
disable_debug=yes
|
||||
|
||||
do_configure() {
|
||||
./configure --prefix=${DESTDIR}/usr --disable-docs \
|
||||
--host-triple=${XBPS_MACHINE}-unknown-linux-gnu
|
||||
./configure --prefix=${DESTDIR}/usr --disable-docs
|
||||
}
|
||||
|
||||
do_build() {
|
||||
|
@ -26,7 +25,7 @@ do_install() {
|
|||
vinstall COPYRIGHT 644 usr/share/licenses/rust LICENSE
|
||||
|
||||
# Set proper rpath on binaries.
|
||||
for f in rustdoc rustc rusti cargo; do
|
||||
for f in rust rustdoc rustc rusti rustpkg; do
|
||||
chrpath -r /usr/lib/rustc/${XBPS_MACHINE}-unknown-linux-gnu/lib ${DESTDIR}/usr/bin/${f}
|
||||
done
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue