mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-12-25 02:18:30 +01:00
New debian deb build file
This commit is contained in:
parent
0a4c72c571
commit
5c9c8c2670
@ -4,13 +4,6 @@
|
|||||||
echo Create directory structure
|
echo Create directory structure
|
||||||
mkdir sdrpp_debian_amd64
|
mkdir sdrpp_debian_amd64
|
||||||
mkdir sdrpp_debian_amd64/DEBIAN
|
mkdir sdrpp_debian_amd64/DEBIAN
|
||||||
mkdir sdrpp_debian_amd64/usr
|
|
||||||
mkdir sdrpp_debian_amd64/usr/bin
|
|
||||||
mkdir sdrpp_debian_amd64/usr/share
|
|
||||||
mkdir sdrpp_debian_amd64/usr/share/sdrpp
|
|
||||||
mkdir sdrpp_debian_amd64/usr/lib
|
|
||||||
mkdir sdrpp_debian_amd64/usr/lib/sdrpp
|
|
||||||
mkdir sdrpp_debian_amd64/usr/lib/sdrpp/plugins
|
|
||||||
|
|
||||||
# Create package info
|
# Create package info
|
||||||
echo Create package info
|
echo Create package info
|
||||||
@ -20,28 +13,14 @@ echo Maintainer: Ryzerth >> sdrpp_debian_amd64/DEBIAN/control
|
|||||||
echo Architecture: all >> sdrpp_debian_amd64/DEBIAN/control
|
echo Architecture: all >> sdrpp_debian_amd64/DEBIAN/control
|
||||||
echo Description: Bloat-free SDR receiver software >> sdrpp_debian_amd64/DEBIAN/control
|
echo Description: Bloat-free SDR receiver software >> sdrpp_debian_amd64/DEBIAN/control
|
||||||
|
|
||||||
# Copy core files
|
# Copying files
|
||||||
echo Copy core files
|
ORIG_DIR=$PWD
|
||||||
cp $1/sdrpp sdrpp_debian_amd64/usr/bin/
|
cd $1
|
||||||
cp $1/libsdrpp_core.so sdrpp_debian_amd64/usr/lib/
|
make install DESTDIR=$ORIG_DIR/sdrpp_debian_amd64
|
||||||
|
cd $ORIG_DIR
|
||||||
# Copy reasources
|
|
||||||
echo Copy reasources
|
|
||||||
cp -r root/res/* sdrpp_debian_amd64/usr/share/sdrpp/
|
|
||||||
|
|
||||||
# Copy module
|
|
||||||
echo Copy modules
|
|
||||||
cp $1/radio/radio.so sdrpp_debian_amd64/usr/lib/sdrpp/plugins/
|
|
||||||
cp $1/recorder/recorder.so sdrpp_debian_amd64/usr/lib/sdrpp/plugins/
|
|
||||||
cp $1/airspyhf_source/airspyhf_source.so sdrpp_debian_amd64/usr/lib/sdrpp/plugins/
|
|
||||||
cp $1/airspy_source/airspy_source.so sdrpp_debian_amd64/usr/lib/sdrpp/plugins/
|
|
||||||
cp $1/plutosdr_source/plutosdr_source.so sdrpp_debian_amd64/usr/lib/sdrpp/plugins/
|
|
||||||
cp $1/rtl_tcp_source/rtl_tcp_source.so sdrpp_debian_amd64/usr/lib/sdrpp/plugins/
|
|
||||||
cp $1/soapy_source/soapy_source.so sdrpp_debian_amd64/usr/lib/sdrpp/plugins/
|
|
||||||
cp $1/audio_sink/audio_sink.so sdrpp_debian_amd64/usr/lib/sdrpp/plugins/
|
|
||||||
|
|
||||||
# Create package
|
# Create package
|
||||||
echo Create packagesudo
|
echo Create package
|
||||||
dpkg-deb --build sdrpp_debian_amd64
|
dpkg-deb --build sdrpp_debian_amd64
|
||||||
|
|
||||||
# Cleanup
|
# Cleanup
|
||||||
|
Loading…
Reference in New Issue
Block a user