forked from Bananymous/banan-os
				
			
		
			
				
	
	
		
			23 lines
		
	
	
		
			550 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			550 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
| #!/bin/bash ../install.sh
 | |
| 
 | |
| NAME='bash'
 | |
| VERSION='5.2.37'
 | |
| DOWNLOAD_URL="https://ftpmirror.gnu.org/gnu/bash/bash-$VERSION.tar.gz#9599b22ecd1d5787ad7d3b7bf0c59f312b3396d1e281175dd1f8a4014da621ff"
 | |
| DEPENDENCIES=('ncurses')
 | |
| CONFIG_SUB=('support/config.sub')
 | |
| CONFIGURE_OPTIONS=(
 | |
| 	'--disable-nls'
 | |
| 	'--without-bash-malloc'
 | |
| 	'--with-curses'
 | |
| 	'bash_cv_unusable_rtsigs=no'
 | |
| 	'bash_cv_signal_vintage=posix'
 | |
| 	'CFLAGS=-std=c17'
 | |
| 	'CFLAGS_FOR_BUILD=-std=c17'
 | |
| )
 | |
| 
 | |
| post_install() {
 | |
| 	if [ ! -L $BANAN_SYSROOT/usr/bin/sh ]; then
 | |
| 		ln -s bash $BANAN_SYSROOT/usr/bin/sh
 | |
| 	fi
 | |
| }
 |