local INSTALL_DIR="$INSTALL_ROOT/usr/lib/passenger" &&

mkdir -vp "$INSTALL_DIR" &&

cp -av "$SOURCE_DIRECTORY"/* "$INSTALL_DIR" &&

if list_find "$OPTS" "APACHE=1"; then
  ln -vsf "$INSTALL_DIR/ext/apache2/mod_passenger.so" \
          "$INSTALL_ROOT/usr/libexec/mod_passenger.so"
fi
