forked from Bananymous/banan-os
				
			
		
			
				
	
	
		
			23 lines
		
	
	
		
			632 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			632 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
| #!/bin/bash ../install.sh
 | |
| 
 | |
| NAME='ncurses'
 | |
| VERSION='6.5'
 | |
| DOWNLOAD_URL="https://ftpmirror.gnu.org/gnu/ncurses/ncurses-$VERSION.tar.gz#136d91bc269a9a5785e5f9e980bc76ab57428f604ce3e5a5a90cebc767971cc6"
 | |
| CONFIG_SUB=('config.sub')
 | |
| CONFIGURE_OPTIONS=(
 | |
| 	"--with-pkg-config='$PKG_CONFIG'"
 | |
| 	"--with-pkg-config-libdir=/usr/lib/pkgconfig"
 | |
| 	'--enable-pc-files'
 | |
| 	'--enable-sigwinch'
 | |
| 	'--disable-widec'
 | |
| 	'--with-shared'
 | |
| 	'--without-ada'
 | |
| 	'--without-manpages'
 | |
| 	CFLAGS='-std=c17'
 | |
| )
 | |
| 
 | |
| post_install() {
 | |
| 	shellrc="$BANAN_SYSROOT/home/user/.shellrc"
 | |
| 	grep -q 'export NCURSES_NO_UTF8_ACS=' "$shellrc" || echo 'export NCURSES_NO_UTF8_ACS=1' >> "$shellrc"
 | |
| }
 |