From c572b9da3d2ccacc46a49f61343cc0047daeb706 Mon Sep 17 00:00:00 2001 From: Sirius Bakke Date: Thu, 21 Feb 2019 00:38:58 -0300 Subject: [PATCH] chore: Update debuild scripts to use cmake --- README.md | 5 +++++ debian/control | 13 ++++++------- debian/rules | 8 +------- 3 files changed, 12 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 1ad28075f..58ce67ea0 100644 --- a/README.md +++ b/README.md @@ -26,3 +26,8 @@ Note: default destination is /usr/local. This is configurable: cmake ../fwbuilder -DCMAKE_INSTALL_PREFIX=/usr ``` +Create deb package +--------- +``` +debuild -us -uc --lintian-opts --profile debian +``` diff --git a/debian/control b/debian/control index 98e80f675..6786d912c 100644 --- a/debian/control +++ b/debian/control @@ -1,14 +1,13 @@ Source: fwbuilder Section: net Priority: optional -Maintainer: Morten Knutsen -Build-Depends: debhelper (>= 5), cdbs, autotools-dev, zlib1g-dev, - libqt4-dev, libxml2-dev, libxslt1-dev, libssl-dev, libsnmp-dev, qt4-dev-tools, - autoconf, automake, libtool +Maintainer: Sirius Bakke +Build-Depends: debhelper (>=11~), cdbs, cmake, qtbase5-dev, + qttools5-dev-tools, zlib1g-dev, libxml2-dev, libxslt1-dev, libsnmp-dev Standards-Version: 3.9.3 -Homepage: http://www.fwbuilder.org/ -Vcs-Svn: https://bollin.googlecode.com/svn/fwbuilder/trunk -Vcs-Browser: http://bollin.googlecode.com/svn/fwbuilder/trunk +Homepage: https://www.fwbuilder.org +Vcs-Browser: https://github.com/fwbuilder/fwbuilder +Vcs-Git: https://github.com/fwbuilder/fwbuilder.git Package: fwbuilder Architecture: any diff --git a/debian/rules b/debian/rules index 50bec5d04..ee1a3955b 100755 --- a/debian/rules +++ b/debian/rules @@ -1,9 +1,3 @@ #!/usr/bin/make -f - include /usr/share/cdbs/1/rules/debhelper.mk -include /usr/share/cdbs/1/class/autotools.mk - -DEB_CONFIGURE_SCRIPT := ./autogen.sh -DEB_CONFIGURE_USER_FLAGS := --with-qmake=qmake-qt4 -DEB_MAKE_INSTALL_TARGET := install INSTALL_ROOT=`pwd`/debian/tmp -DEB_INSTALL_CHANGELOGS_ALL := doc/ChangeLog +include /usr/share/cdbs/1/class/cmake.mk