milis/talimatname/genel/rust/talimat

26 lines
594 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Description: Mozilla tarafından güvenli, eşzamanlı, pratik bir dil.
# URL: http://www.rust-lang.org/
# Packager: milisarge
# Depends on: libffi python jemalloc cmake
name=rust
version=1.11.0
release=1
source=(http://static.rust-lang.org/dist/rustc-$version-src.tar.gz)
build() {
cd rustc-$version
./configure --prefix=/usr \
--release-channel=stable \
--disable-docs \
--enable-ccache
make CFLAGS=" -fPIC -w"
make DESTDIR=$PKG install
cd "$PKG/usr/lib"
rm rustlib/{components,manifest-rustc,rust-installer-version}
ln -sf rustlib/x86_64-unknown-linux-gnu/lib/*.so .
}