milis/talimatname/genel/r/rust/talimat

24 lines
609 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.

# Tanım: Mozilla tarafından güvenli, eşzamanlı, pratik bir dil.
# URL: http://www.rust-lang.org/
# Paketçi: milisarge
# Gerekler: libffi python jemalloc cmake ccache ninja libunwind
# Grup: geliştirme
isim=rust
surum=1.28.0
devir=3
kaynak=(http://static.rust-lang.org/dist/rustc-$surum-src.tar.gz
bootstrap-config.toml)
derle() {
cd ${isim}c-$surum-src
cp $SRC/bootstrap-config.toml config.toml
/usr/bin/python2 ./x.py build --verbose
DESTDIR=$PKG /usr/bin/python2 ./x.py install
rm -rf $PKG/usr/lib/rustlib/{components,manifest-rustc,rust-installer-version}
rm -rf $PKG/usr/share/doc
}