From b443273c98c21b59348ab446a76ac1a5d53ab480 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 7 Mar 2021 22:46:59 +0900 Subject: DEB: added packaging files for klamav. Signed-off-by: Michele Calgaro --- ubuntu/_base/applications/klamav/debian/rules | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 ubuntu/_base/applications/klamav/debian/rules (limited to 'ubuntu/_base/applications/klamav/debian/rules') diff --git a/ubuntu/_base/applications/klamav/debian/rules b/ubuntu/_base/applications/klamav/debian/rules new file mode 100755 index 000000000..85bbba0dc --- /dev/null +++ b/ubuntu/_base/applications/klamav/debian/rules @@ -0,0 +1,20 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/cmake.mk +include debian/cdbs/debian-tde.mk + +DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ + && echo xz || echo bzip2) + +DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ + -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ + -DCONFIG_INSTALL_DIR="/etc/trinity" \ + -DSYSCONF_INSTALL_DIR="/etc" \ + -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_VERBOSE_MAKEFILE="ON" \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DBUILD_ALL="ON" \ + -DWITH_ALL_OPTIONS="ON" -- cgit v1.2.1