summaryrefslogtreecommitdiffstats
path: root/ubuntu/_base/dependencies/libr/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/_base/dependencies/libr/debian/rules')
-rwxr-xr-xubuntu/_base/dependencies/libr/debian/rules20
1 files changed, 20 insertions, 0 deletions
diff --git a/ubuntu/_base/dependencies/libr/debian/rules b/ubuntu/_base/dependencies/libr/debian/rules
new file mode 100755
index 000000000..1b6b94b3e
--- /dev/null
+++ b/ubuntu/_base/dependencies/libr/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 /usr/share/cdbs/1/rules/utils.mk
+
+DEB_BUILD_PARALLEL = true
+
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
+# Build options
+DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo
+
+clean::
+ dh_testdir
+ rm -fr man/man3