milis/talimatname/genel/rust/talimat

26 lines
605 B
Plaintext
Raw Normal View History

2017-04-14 14:02:59 +02:00
# Description: Mozilla tarafından güvenli, eşzamanlı, pratik bir dil.
2016-09-13 21:26:51 +02:00
# URL: http://www.rust-lang.org/
# Packager: milisarge
2017-05-15 16:20:06 +02:00
# Depends on: libffi python jemalloc cmake ccache
2016-09-13 21:26:51 +02:00
name=rust
2017-06-24 18:43:35 +02:00
version=1.16.0
2016-09-13 21:26:51 +02:00
release=1
source=(http://static.rust-lang.org/dist/rustc-$version-src.tar.gz)
build() {
2017-06-24 18:43:35 +02:00
cd rustc-$version-src
2016-09-13 21:26:51 +02:00
./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 .
}