kopia lustrzana https://github.com/AlexandreRouma/SDRPlusPlus
				
				
				
			
		
			
				
	
	
		
			24 wiersze
		
	
	
		
			538 B
		
	
	
	
		
			Bash
		
	
	
			
		
		
	
	
			24 wiersze
		
	
	
		
			538 B
		
	
	
	
		
			Bash
		
	
	
| #!/bin/bash
 | |
| set -e
 | |
| cd /root
 | |
| 
 | |
| # Install dependencies and tools
 | |
| apt update
 | |
| apt full-upgrade -y
 | |
| 
 | |
| # Install SDRPlay libraries
 | |
| wget https://www.sdrplay.com/software/SDRplay_RSP_API-Linux-3.07.1.run
 | |
| 7z x ./SDRplay_RSP_API-Linux-3.07.1.run
 | |
| 7z x ./SDRplay_RSP_API-Linux-3.07.1
 | |
| cp x86_64/libsdrplay_api.so.3.07 /usr/lib/libsdrplay_api.so
 | |
| cp inc/* /usr/include/
 | |
| 
 | |
| cd SDRPlusPlus
 | |
| mkdir build
 | |
| cd build
 | |
| cmake .. -DOPT_BUILD_BLADERF_SOURCE=ON -DOPT_BUILD_LIMESDR_SOURCE=ON -DOPT_BUILD_SDRPLAY_SOURCE=ON
 | |
| make -j2
 | |
| 
 | |
| cd ..
 | |
| sh make_debian_package.sh ./build
 |