Sun, 30 Nov 2025 13:55:12 +0100
fix missing fallback for doxygen executable
| 1457 | 1 | #!/bin/sh |
| 2 | ||
|
1523
b5c32391802f
update uwproj and fix pkgconfigdir location on BSD
Mike Becker <universe@uap-core.de>
parents:
1484
diff
changeset
|
3 | if [ -z "$1" ] || [ -z "$2" ] || [ -z "$3" ] || [ -z "$4" ] ; then |
|
b5c32391802f
update uwproj and fix pkgconfigdir location on BSD
Mike Becker <universe@uap-core.de>
parents:
1484
diff
changeset
|
4 | echo "Usage: $0 <pkgconfigdir> <version> <libdir> <includedir> [destdir]" |
| 1457 | 5 | exit 1 |
| 6 | fi | |
| 7 | ||
|
1523
b5c32391802f
update uwproj and fix pkgconfigdir location on BSD
Mike Becker <universe@uap-core.de>
parents:
1484
diff
changeset
|
8 | pkgconfigdir="$1" |
|
b5c32391802f
update uwproj and fix pkgconfigdir location on BSD
Mike Becker <universe@uap-core.de>
parents:
1484
diff
changeset
|
9 | version="$2" |
|
b5c32391802f
update uwproj and fix pkgconfigdir location on BSD
Mike Becker <universe@uap-core.de>
parents:
1484
diff
changeset
|
10 | libdir="$3" |
|
b5c32391802f
update uwproj and fix pkgconfigdir location on BSD
Mike Becker <universe@uap-core.de>
parents:
1484
diff
changeset
|
11 | includedir="$4" |
|
b5c32391802f
update uwproj and fix pkgconfigdir location on BSD
Mike Becker <universe@uap-core.de>
parents:
1484
diff
changeset
|
12 | destdir="$5" |
| 1457 | 13 | |
|
1523
b5c32391802f
update uwproj and fix pkgconfigdir location on BSD
Mike Becker <universe@uap-core.de>
parents:
1484
diff
changeset
|
14 | cat << EOF > "$destdir$pkgconfigdir/ucx.pc" |
| 1457 | 15 | libdir=$libdir |
| 16 | includedir=$includedir | |
| 17 | ||
| 18 | Name: ucx | |
| 19 | Description: UAP Common Extensions | |
| 20 | Version: $version | |
| 21 | Libs: -L\${libdir} -lucx | |
| 22 | Cflags: -I\${includedir} | |
| 23 | EOF |