2018-06-09 00:06:58 +02:00
|
|
|
|
# Tanım: Mozilla tarafından güvenli, eşzamanlı, pratik bir dil.
|
|
|
|
|
# URL: http://www.rust-lang.org/
|
|
|
|
|
# Paketçi: milisarge
|
2018-08-21 00:14:08 +02:00
|
|
|
|
# Gerekler: libffi python jemalloc cmake ccache ninja
|
2018-06-09 00:06:58 +02:00
|
|
|
|
# Grup: geliştirme
|
|
|
|
|
|
|
|
|
|
isim=rust
|
2018-08-10 22:17:46 +02:00
|
|
|
|
surum=1.28.0
|
2018-08-21 00:14:08 +02:00
|
|
|
|
devir=3
|
2018-06-09 00:06:58 +02:00
|
|
|
|
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
|
|
|
|
|
|
2018-08-21 00:14:08 +02:00
|
|
|
|
/usr/bin/python2 ./x.py build --verbose
|
|
|
|
|
DESTDIR=$PKG /usr/bin/python2 ./x.py install
|
2018-06-09 00:06:58 +02:00
|
|
|
|
|
2018-08-21 00:14:08 +02:00
|
|
|
|
rm -rf $PKG/usr/lib/rustlib/{components,manifest-rustc,rust-installer-version}
|
|
|
|
|
rm -rf $PKG/usr/share/doc
|
2018-06-09 00:06:58 +02:00
|
|
|
|
}
|