| 1 | #!/bin/bash |
| 2 | # |
| 3 | # IMPORTANT: See |
| 4 | # https://gnome.pages.gitlab.gnome.org/librsvg/devel-docs/ci.html#container-image-version |
| 5 | |
| 6 | if [ -z "$PREFIX" ]; then |
| 7 | echo "Using default prefix /usr/local/librsvg for dependencies." |
| 8 | echo "If this is not what you want, set the PREFIX variable" |
| 9 | echo "before sourcing this script." |
| 10 | PREFIX=/usr/local/librsvg |
| 11 | fi |
| 12 | |
| 13 | export PATH=$PREFIX/bin:$PATH |
| 14 | export LD_LIBRARY_PATH=$PREFIX/lib64 |
| 15 | export PKG_CONFIG_PATH=$PREFIX/lib64/pkgconfig |
| 16 | export XDG_DATA_DIRS=${PREFIX}/share:/usr/share |
| 17 | export ACLOCAL_PATH=${PREFIX}/share/aclocal |