Build/packaging work for the bladeRF
This commit is contained in:
parent
0a6dc372ad
commit
7700cd90d3
6 changed files with 35 additions and 19 deletions
4
debian/control
vendored
4
debian/control
vendored
|
|
@ -2,7 +2,7 @@ Source: dump1090-fa
|
|||
Section: embedded
|
||||
Priority: extra
|
||||
Maintainer: Oliver Jowett <oliver@mutability.co.uk>
|
||||
Build-Depends: debhelper(>=9), librtlsdr-dev, libusb-1.0-0-dev, pkg-config, dh-systemd, libncurses5-dev
|
||||
Build-Depends: debhelper(>=9), librtlsdr-dev, libusb-1.0-0-dev, pkg-config, dh-systemd, libncurses5-dev, libbladerf-dev
|
||||
Standards-Version: 3.9.3
|
||||
Homepage: https://github.com/mutability/dump1090
|
||||
Vcs-Git: https://github.com/mutability/dump1090.git
|
||||
|
|
@ -19,7 +19,7 @@ Description: transitional dummy package for dump1090
|
|||
|
||||
Package: dump1090-fa
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, lighttpd
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, libbladerf1(>=2016.06), libbladerf-udev, adduser, lighttpd
|
||||
Replaces: dump1090 (<< 3.0)
|
||||
Breaks: dump1090 (<< 3.0)
|
||||
Description: ADS-B Ground Station System for RTL-SDR
|
||||
|
|
|
|||
3
debian/dump1090-fa.postinst
vendored
3
debian/dump1090-fa.postinst
vendored
|
|
@ -31,6 +31,9 @@ case "$1" in
|
|||
adduser --system --home /usr/share/$NAME --no-create-home --quiet "$RUNAS"
|
||||
fi
|
||||
|
||||
# plugdev required for bladeRF USB access
|
||||
adduser "$RUNAS" plugdev
|
||||
|
||||
# set up lighttpd
|
||||
echo "Enabling lighttpd integration.." >&2
|
||||
lighty-enable-mod dump1090-fa || true
|
||||
|
|
|
|||
2
debian/rules
vendored
2
debian/rules
vendored
|
|
@ -20,7 +20,7 @@ ifeq ($(DEB_HOST_ARCH),armhf)
|
|||
endif
|
||||
|
||||
override_dh_auto_build:
|
||||
dh_auto_build -- HTMLPATH=/usr/share/$(DEB_SOURCE)/html DUMP1090_VERSION=$(DEB_VERSION) RTLSDR_PREFIX=/usr
|
||||
dh_auto_build -- RTLSDR=yes BLADERF=yes HTMLPATH=/usr/share/$(DEB_SOURCE)/html DUMP1090_VERSION=$(DEB_VERSION)
|
||||
|
||||
override_dh_install:
|
||||
dh_install
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue