summaryrefslogtreecommitdiffstats
path: root/doc/.packaging/leap
diff options
context:
space:
mode:
Diffstat (limited to 'doc/.packaging/leap')
-rwxr-xr-xdoc/.packaging/leap/15.2/build.sh20
-rw-r--r--doc/.packaging/leap/15.2/builddeps4
-rwxr-xr-xdoc/.packaging/leap/15.2/install.sh3
3 files changed, 27 insertions, 0 deletions
diff --git a/doc/.packaging/leap/15.2/build.sh b/doc/.packaging/leap/15.2/build.sh
new file mode 100755
index 0000000..68ea49e
--- /dev/null
+++ b/doc/.packaging/leap/15.2/build.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+# SPDX-License-Identifier: GPL-3.0-or-later
+[ -d /root/kresd/build_packaging ] && rm -rf /root/kresd/build_packaging/;
+CFLAGS="$CFLAGS -Wall -pedantic -fno-omit-frame-pointer"
+LDFLAGS="$LDFLAGS -Wl,--as-needed"
+meson build_packaging \
+ --buildtype=plain \
+ --prefix=/root/kresd/install_packaging \
+ --sbindir=sbin \
+ --libdir=lib \
+ --includedir=include \
+ --sysconfdir=etc \
+ -Ddoc=enabled \
+ -Dsystemd_files=enabled \
+ -Dclient=enabled \
+ -Dunit_tests=enabled \
+ -Dmanaged_ta=enabled \
+ -Dkeyfile_default=/var/lib/knot-resolver/root.keys \
+ -Dinstall_root_keys=enabled \
+ -Dinstall_kresd_conf=enabled;
diff --git a/doc/.packaging/leap/15.2/builddeps b/doc/.packaging/leap/15.2/builddeps
new file mode 100644
index 0000000..60daf9c
--- /dev/null
+++ b/doc/.packaging/leap/15.2/builddeps
@@ -0,0 +1,4 @@
+doxygen
+python3-Sphinx
+python3-breathe
+python3-sphinx_rtd_theme
diff --git a/doc/.packaging/leap/15.2/install.sh b/doc/.packaging/leap/15.2/install.sh
new file mode 100755
index 0000000..3422d68
--- /dev/null
+++ b/doc/.packaging/leap/15.2/install.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+# SPDX-License-Identifier: GPL-3.0-or-later
+ninja -C build_packaging doc