| 1456:fb4f5e37090d | 1457:2e59f713c107 |
|---|---|
| 1 #!/bin/sh | |
| 2 | |
| 3 if [ -z "$1" ] || [ -z "$2" ] || [ -z "$3" ] ; then | |
| 4 echo "Illegal use." | |
| 5 exit 1 | |
| 6 fi | |
| 7 | |
| 8 version=$1 | |
| 9 libdir=$2 | |
| 10 includedir=$3 | |
| 11 | |
| 12 cat << EOF > $libdir/pkgconfig/ucx.pc | |
| 13 libdir=$libdir | |
| 14 includedir=$includedir | |
| 15 | |
| 16 Name: ucx | |
| 17 Description: UAP Common Extensions | |
| 18 Copyright: Copyright (c) 2025 Mike Becker, Olaf Wintermann | |
| 19 License: BSD-2-Clause | |
| 20 URL: https://ucx.sourceforge.io | |
| 21 Version: $version | |
| 22 Libs: -L\${libdir} -lucx | |
| 23 Cflags: -I\${includedir} | |
| 24 EOF |