21 lines
		
	
	
		
			294 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
		
		
			
		
	
	
			21 lines
		
	
	
		
			294 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| 
								 | 
							
								. "$pkg_common"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								configure()
							 | 
						||
| 
								 | 
							
								{
							 | 
						||
| 
								 | 
							
								    ./configure \
							 | 
						||
| 
								 | 
							
								        --prefix="$cfg_dir_toolchain_sysroot/usr" \
							 | 
						||
| 
								 | 
							
								        --target="$cfg_target_canonical" \
							 | 
						||
| 
								 | 
							
								        --host="$cfg_target_canonical" \
							 | 
						||
| 
								 | 
							
								        --build="$cfg_host_canonical"
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								build()
							 | 
						||
| 
								 | 
							
								{
							 | 
						||
| 
								 | 
							
								    $cmd_make
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								host_install()
							 | 
						||
| 
								 | 
							
								{
							 | 
						||
| 
								 | 
							
								    $cmd_make install
							 | 
						||
| 
								 | 
							
								}
							 |