[crux-commits] ports/contrib (refs/remotes/origin/3.6): ostree: added optional dependency on docbook-xsl for manpage generation

crux at crux.nu crux at crux.nu
Sat Apr 10 19:05:44 UTC 2021


commit 8a38dcda579f83463fecef7239ac0475ee1ef326
Author: Tim Biermann <tbier at posteo.de>
Date:   Fri Mar 12 11:34:37 2021 +0000

    ostree: added optional dependency on docbook-xsl for manpage generation

diff --git a/ostree/.signature b/ostree/.signature
index 09fe3bfda..a416a377f 100644
--- a/ostree/.signature
+++ b/ostree/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF385nM2DQW5FuHfoHSbh0gyPpKfYmdKhEwNGN8WjyaqxCRMF0nZGJrPIJ6z8ks5ge86rAC0zxLDRlrR+1yn1nKwU=
-SHA256 (Pkgfile) = 06895035c3ca32c038fbc795bc810139e8cc78c2a9a93b7e1091611b76287f02
+RWSagIOpLGJF3+J8XshI3z5wIijqWhZgW5TlMw3i+N5wA2FKSFMY4PVdQ0dmlCPmJpY6ztBFgZ7Mxn2gx8O1xKBSAWRyuC152w8=
+SHA256 (Pkgfile) = 8cabb6cde9ea2a13827cdaf8a3f7261d396cbc58525350240e1abfb678b33502
 SHA256 (.footprint) = 34f1837446adbae6a107119c9d7edc293cee43d2363f568267d5c51dcad0b9f6
 SHA256 (libostree-2020.8.tar.xz) = fdaa5992d0a6f62157152355449ac8476c50df6602be398e9ad10438cc1e679b
diff --git a/ostree/Pkgfile b/ostree/Pkgfile
index 9f8b2bc7e..f69320eed 100644
--- a/ostree/Pkgfile
+++ b/ostree/Pkgfile
@@ -2,15 +2,18 @@
 # URL: https://ostree.readthedocs.org/en/latest/
 # Maintainer: Tim Biermann, tbier at posteo dot de
 # Depends on: avahi fuse gpgme keyutils libsoup
+# Optional: docbook-xsl
 
 name=ostree
 version=2020.8
-release=1
+release=2
 source=(https://github.com/ostreedev/ostree/releases/download/v$version/libostree-$version.tar.xz)
 
 build() {
+  prt-get isinst docbook-xsl && PKGMK_OSTREE+=' --enable-man=yes' || PKGMK_OSTREE+=' --enable-man=no'
   cd lib$name-$version
-  ./configure --prefix=/usr \
+  ./configure $PKGMK_OSTREE \
+    --prefix=/usr \
     --libexecdir=/usr/lib/$name \
     --with-openssl \
     --with-builtin-grub2-mkconfig \


More information about the crux-commits mailing list