--- a/make/install-pc-file.sh Fri Nov 28 15:23:40 2025 +0100 +++ b/make/install-pc-file.sh Sun Nov 30 13:29:07 2025 +0100 @@ -1,16 +1,17 @@ #!/bin/sh -if [ -z "$1" ] || [ -z "$2" ] || [ -z "$3" ] ; then - echo "Usage: $0 <version> <libdir> <includedir> [destdir]" +if [ -z "$1" ] || [ -z "$2" ] || [ -z "$3" ] || [ -z "$4" ] ; then + echo "Usage: $0 <pkgconfigdir> <version> <libdir> <includedir> [destdir]" exit 1 fi -version="$1" -libdir="$2" -includedir="$3" -destdir="$4" +pkgconfigdir="$1" +version="$2" +libdir="$3" +includedir="$4" +destdir="$5" -cat << EOF > "$destdir$libdir/pkgconfig/ucx.pc" +cat << EOF > "$destdir$pkgconfigdir/ucx.pc" libdir=$libdir includedir=$includedir