summaryrefslogtreecommitdiffstats
path: root/ubuntu/_base/applications/klamav/debian/rules
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2021-03-07 22:46:59 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2021-03-07 22:46:59 +0900
commitb443273c98c21b59348ab446a76ac1a5d53ab480 (patch)
treefa36876f0d66fd1a333f5505205a8ae12435c0a9 /ubuntu/_base/applications/klamav/debian/rules
parent12dcc700a83c4c76187e9bbcd046a032a202872e (diff)
downloadtde-packaging-b443273c98c21b59348ab446a76ac1a5d53ab480.tar.gz
tde-packaging-b443273c98c21b59348ab446a76ac1a5d53ab480.zip
DEB: added packaging files for klamav.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'ubuntu/_base/applications/klamav/debian/rules')
-rwxr-xr-xubuntu/_base/applications/klamav/debian/rules20
1 files changed, 20 insertions, 0 deletions
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"