forked from Bananymous/banan-os
				
			
		
			
				
	
	
		
			17 lines
		
	
	
		
			426 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			426 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
| #!/bin/bash ../install.sh
 | |
| 
 | |
| NAME='mpc'
 | |
| VERSION='1.3.1'
 | |
| DOWNLOAD_URL="https://ftpmirror.gnu.org/gnu/mpc/mpc-$VERSION.tar.gz#ab642492f5cf882b74aa0cb730cd410a81edcdbec895183ce930e706c1c759b8"
 | |
| DEPENDENCIES=('gmp' 'mpfr')
 | |
| CONFIG_SUB=('build-aux/config.sub')
 | |
| CONFIGURE_OPTIONS=(
 | |
| 	"--target=$BANAN_TOOLCHAIN_TRIPLE"
 | |
| 	"--with-sysroot=$BANAN_SYSROOT"
 | |
| )
 | |
| 
 | |
| post_install() {
 | |
| 	# remove libtool file
 | |
| 	rm -f $BANAN_SYSROOT/usr/lib/libmpc.la
 | |
| }
 |