1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

Make deb package do osg

This commit is contained in:
James Duley 2016-03-31 10:01:29 +13:00
parent 5d26e81c9e
commit c7ab6ff358
3 changed files with 6 additions and 3 deletions

View File

@ -36,7 +36,7 @@ PACKAGE_DEPS_SED := s/python.*/python/;s/{misc:Depends}.*/{misc:Depends}/;
package: debian
@$(ECHO) "Building Linux package, please wait..."
$(V1) sed -i -e "$(PACKAGE_DEPS_SED)" debian/control
$(V1) sed -i -e 's/WITH_PREBUILT.*//' debian/rules
$(V1) sed -i -e 's,config_new.*, --help > /dev/null,' debian/rules
$(V1) dpkg-buildpackage -b -us -uc -nc
$(V1) mv $(ROOT_DIR)/../$(DEB_PACKAGE_NAME).deb $(BUILD_DIR)
$(V1) mv $(ROOT_DIR)/../$(DEB_PACKAGE_NAME).changes $(BUILD_DIR)

View File

@ -2,7 +2,7 @@ Source: <NAME>
Section: electronics
Priority: optional
Maintainer: The LibrePilot Project <<EMAIL>>
Build-Depends: debhelper (>= 9), libudev-dev, libusb-1.0-0-dev, libsdl1.2-dev, python, qt5-default, qttools5-dev-tools, libqt5svg5-dev, qtdeclarative5-dev, qml-module-qtquick-controls, libqt5serialport5-dev, qtmultimedia5-dev, qtscript5-dev, libqt5opengl5-dev
Build-Depends: debhelper (>= 9), libudev-dev, libusb-1.0-0-dev, libsdl1.2-dev, python, libopenscenegraph-dev, qt5-default, qttools5-dev-tools, libqt5svg5-dev, qtdeclarative5-dev, qml-module-qtquick-controls, libqt5serialport5-dev, qtmultimedia5-dev, qtscript5-dev, libqt5opengl5-dev
Standards-Version: 3.9.5
Homepage: <URL>
Vcs-Git: <GIT_URL>

View File

@ -11,8 +11,11 @@ export DH_OPTIONS
%:
dh $@
override_dh_auto_configure:
$(MAKE) config_new GCS_EXTRA_CONF=osg WITH_PREBUILT_FW=$(CURDIR)/firmware
override_dh_auto_build:
dh_auto_build -- opfw_resource gcs WITH_PREBUILT_FW=$(CURDIR)/firmware
dh_auto_build -- opfw_resource gcs
override_dh_auto_install:
dh_auto_install -- prefix=/usr