summaryrefslogtreecommitdiff
path: root/sofort/tools
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2020-01-10 15:59:38 +0000
committermidipix <writeonce@midipix.org>2020-01-10 16:02:52 +0000
commit116cbcf6ba31291110694be2863c312e8e1d87a5 (patch)
treea2e922b1688771e4cf4978a1b06b9a313fc73e59 /sofort/tools
parentdd6f7c43b1567285859fe4e8bdbabae9e852fe8c (diff)
downloadbcparser-116cbcf6ba31291110694be2863c312e8e1d87a5.tar.bz2
bcparser-116cbcf6ba31291110694be2863c312e8e1d87a5.tar.xz
build system: add --pkgbugs (where to file) and --pkghome (project home page).
Diffstat (limited to 'sofort/tools')
-rwxr-xr-xsofort/tools/pkgconf.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/sofort/tools/pkgconf.sh b/sofort/tools/pkgconf.sh
index bcde970..a69c25b 100755
--- a/sofort/tools/pkgconf.sh
+++ b/sofort/tools/pkgconf.sh
@@ -94,6 +94,20 @@ else
pkgconf_durl="Distro: ${PKGCONF_DURL}"
fi
+# bug reports (optional)
+if [ -z "${PKGCONF_BUGS}" ]; then
+ pkgconf_bugs='#'
+else
+ pkgconf_bugs="Bug reports: ${PKGCONF_BUGS}"
+fi
+
+# project home page (optional)
+if [ -z "${PKGCONF_HOME}" ]; then
+ pkgconf_home='#'
+else
+ pkgconf_home="Home page: ${PKGCONF_HOME}"
+fi
+
# output (without trailing spaces)
cat << _EOF | grep -v '^#' | sed 's/[ \t]*$//'
@@ -110,6 +124,8 @@ Version: ${PKGCONF_VERSION}
$pkgconf_repo
$pkgconf_psrc
$pkgconf_durl
+$pkgconf_bugs
+$pkgconf_home
Cflags: $pkgconf_cflags
Libs: $pkgconf_ldflags