This commit is contained in:
milisbir 2018-08-21 01:14:08 +03:00
parent 0ab7ce4138
commit 43ca8a3f36
1 changed files with 6 additions and 6 deletions

View File

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