From 6ba4beaa43d91b97e736cef34f60acd948c94047 Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 10 Jan 2020 15:59:38 +0000 Subject: build system: add --pkgbugs (where to file) and --pkghome (project home page). --- sofort/tools/pkgconf.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'sofort/tools') 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 -- cgit v1.2.3