[gnome-build-meta/abderrahim/more-cleanups: 5/5] core-deps/samba.bst: update and use the autotools plugin




commit 7a8aa0f60c3754e91b8794cd70947670a25bcbc2
Author: Abderrahim Kitouni <akitouni gnome org>
Date:   Thu Dec 23 20:06:07 2021 +0100

    core-deps/samba.bst: update and use the autotools plugin
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-build-meta/-/merge_requests/1422>

 elements/core-deps/samba.bst | 38 +++++++++++++++++---------------------
 1 file changed, 17 insertions(+), 21 deletions(-)
---
diff --git a/elements/core-deps/samba.bst b/elements/core-deps/samba.bst
index f030e2cad..daa8dab50 100644
--- a/elements/core-deps/samba.bst
+++ b/elements/core-deps/samba.bst
@@ -1,16 +1,17 @@
-kind: manual
+kind: autotools
+
 sources:
 - kind: tar
-  url: https://download.samba.org/pub/samba/stable/samba-4.15.2.tar.gz
+  url: https://download.samba.org/pub/samba/stable/samba-4.15.3.tar.gz
 - kind: patch
   path: files/samba/fix-root-build.patch
+
 build-depends:
 - core-deps/perl-parse-yapp.bst
-- freedesktop-sdk.bst:components/docbook-xsl.bst
-- freedesktop-sdk.bst:components/flex.bst
 - freedesktop-sdk.bst:components/perl.bst
 - freedesktop-sdk.bst:components/pkg-config.bst
 - freedesktop-sdk.bst:components/python3.bst
+
 depends:
 - core-deps/openldap.bst
 - core-deps/rpcsvc-proto.bst
@@ -20,22 +21,17 @@ depends:
 - freedesktop-sdk.bst:components/libarchive.bst
 - freedesktop-sdk.bst:components/linux-pam.bst
 - freedesktop-sdk.bst:bootstrap-import.bst
+
+variables:
+  # not a real autotools project
+  conf-global: --host=%{triplet} --build=%{triplet}
+  conf-local: >-
+    --enable-fhs
+    --without-ad-dc
+    --without-json
+    --with-system-mitkrb5
+
 config:
-  configure-commands:
-  - >-
-    ./configure --enable-fhs --prefix=%{prefix} --exec-prefix=%{exec_prefix} --bindir=%{bindir}
-    --sbindir=%{sbindir} --sysconfdir=%{sysconfdir} --datadir=%{datadir} --includedir=%{includedir}
-    --libdir=%{libdir} --libexecdir=%{libexecdir} --localstatedir=%{localstatedir}
-    --sharedstatedir=%{sharedstatedir} --mandir=%{mandir} --infodir=%{infodir} --without-ad-dc
-    --without-json --with-system-mitkrb5
-  build-commands:
-  - make
   install-commands:
-  - DESTDIR=%{install-root} make install
-  - mv %{install-root}/var/run %{install-root}
-environment:
-  MAKEFLAGS: -j%{max-jobs}
-  V: 1
-environment-nocache:
-- MAKEFLAGS
-- V
+    (>):
+    - mv %{install-root}/var/run %{install-root}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]