diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-03-07 22:46:59 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-03-07 22:46:59 +0900 |
commit | b443273c98c21b59348ab446a76ac1a5d53ab480 (patch) | |
tree | fa36876f0d66fd1a333f5505205a8ae12435c0a9 /ubuntu/_base/applications/klamav/debian/rules | |
parent | 12dcc700a83c4c76187e9bbcd046a032a202872e (diff) | |
download | tde-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-x | ubuntu/_base/applications/klamav/debian/rules | 20 |
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" |