kopia lustrzana https://github.com/dgiardini/rtl-ais
Merge pull request #22 from FredericGuilbault/master
Add a method to build Debian packages for rtl-ais.pull/24/head
commit
9c37b6fab1
|
@ -1,2 +1,4 @@
|
|||
*.o
|
||||
rtl_ais
|
||||
debianPackage/usr
|
||||
debianPackage/*.deb
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
Package: rtl-ais
|
||||
Version: 0.3
|
||||
Section: custom
|
||||
Priority: optional
|
||||
Architecture: all
|
||||
Essential: no
|
||||
Installed-Size: 1024
|
||||
Maintainer: "dgiardini"
|
||||
Uploaders: "Frederic Guilbault <2@0464.ca>"
|
||||
Homepage: https://github.com/dgiardini/rtl-ais
|
||||
Description: AIS tuner and generic dual-frequency FM demodulator
|
|
@ -0,0 +1,10 @@
|
|||
|
||||
|
||||
Step 1, make sure you have the required dependencys :
|
||||
```sudo apt-get install build-essential```
|
||||
|
||||
Step 2, copy the compiled binary into the package location (implying rtl-ais have been compiled already):
|
||||
```mkdir -p ./usr/bin && cp ../rtl_ais ./usr/bin/rtl_ais```
|
||||
|
||||
Step 3, build the package :
|
||||
```dpkg-deb --build ./ rtl_ais_0.3-1_$(arch).deb```
|
Ładowanie…
Reference in New Issue