summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-08-23 01:20:31 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-08-23 01:20:31 +0300
commit5bf967a821ff2e3dd91b16bbc630c51075f6e8ea (patch)
treed073eece5fa56c54ff52e6143d9bbee1f064387c
parent6050b8026fead1a1ef9ccd54da88b4739e57d954 (diff)
bacula: exlib cleanup, systemd support
-rw-r--r--packages/app-backup/bacula/bacula.exlib19
1 files changed, 7 insertions, 12 deletions
diff --git a/packages/app-backup/bacula/bacula.exlib b/packages/app-backup/bacula/bacula.exlib
index f4d0ba3..0c8cdc2 100644
--- a/packages/app-backup/bacula/bacula.exlib
+++ b/packages/app-backup/bacula/bacula.exlib
@@ -9,10 +9,10 @@ if ever is_scm; then
else
SCM_TAG="Release-${PV}"
fi
+
require scm-git systemd-service
-require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 1.13 1.12 1.11 ] need_libtool=true ]
-export_exlib_phases pkg_setup src_prepare src_compile src_install
+export_exlib_phases pkg_setup src_prepare src_install
DOWNLOADS=""
SLOT="0"
@@ -149,7 +149,9 @@ DEFAULT_SRC_CONFIGURE_PARAMS=(
--libdir=/usr/$(exhost --target)/lib
--enable-smartalloc
--disable-afs
+ --with-systemd="${SYSTEMDSYSTEMUNITDIR}"
)
+
DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=(
'minimal client-only'
'bacula-dir build-dird'
@@ -171,16 +173,9 @@ DEFAULT_SRC_CONFIGURE_OPTION_WITHS=(
'ssl openssl'
)
-#bacula_src_configure() {
-# econf \
-# "${myconf[@]}" \
-# $(option_enable !readline conio) \
-#
-#}
-
-bacula_src_compile() {
- emake NO_ECHO=""
-}
+DEFAULT_SRC_COMPILE_PARAMS=(
+ NO_ECHO=""
+)
bacula_src_install() {
default