rust
This commit is contained in:
		
							parent
							
								
									fda5fe605f
								
							
						
					
					
						commit
						1e3f6a923b
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -1,12 +1,12 @@
 | 
			
		|||
# 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
 | 
			
		||||
# Gerekler: libffi python3 jemalloc cmake ccache
 | 
			
		||||
# Grup: geliştirme
 | 
			
		||||
 
 | 
			
		||||
isim=rust
 | 
			
		||||
surum=1.28.0
 | 
			
		||||
devir=1
 | 
			
		||||
devir=2
 | 
			
		||||
kaynak=(http://static.rust-lang.org/dist/rustc-$surum-src.tar.gz
 | 
			
		||||
		0001-librustc_llvm-build-Force-link-against-libffi.patch
 | 
			
		||||
		bootstrap-config.toml)
 | 
			
		||||
| 
						 | 
				
			
			@ -17,8 +17,8 @@ derle() {
 | 
			
		|||
	patch -p1 -i $SRC/0001-librustc_llvm-build-Force-link-against-libffi.patch
 | 
			
		||||
	cp $SRC/bootstrap-config.toml config.toml
 | 
			
		||||
 | 
			
		||||
	/usr/bin/python ./x.py build --verbose
 | 
			
		||||
	DESTDIR=$PKG /usr/bin/python ./x.py install
 | 
			
		||||
	/usr/bin/python3 ./x.py build --verbose
 | 
			
		||||
	DESTDIR=$PKG /usr/bin/python3 ./x.py install
 | 
			
		||||
 | 
			
		||||
	rm -r $PKG/usr/lib/rustlib/{components,manifest-rustc,rust-installer-version}
 | 
			
		||||
	rm -r $PKG/usr/share/doc
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue