Files
makemd/archive/handover/README (18).md
wurenzhi 136c2fa579 feat: 初始化项目结构并添加核心功能模块
- 新增文档模板和导航结构
- 实现服务器基础API路由和控制器
- 添加扩展插件配置和前端框架
- 引入多租户和权限管理模块
- 集成日志和数据库配置
- 添加核心业务模型和类型定义
2026-03-17 22:07:19 +08:00

2.1 KiB

FreeSWITCH Build Dependencies

This directory is organized into subfolders, where each subfolder contains build instructions for a single Debian package. These packages are dependencies required to build FreeSWITCH's Debian packages.

Build Dependencies Script

A convenient script build-dependencies.sh is provided to automate the building of dependencies. This script offers several options to customize the build process.

Usage

./build-dependencies.sh [options] [library_names...]

Options

  • -h, --help: Show the help message
  • -b, --build-number N: Set build number (default: 42 or env value)
  • -a, --all: Build all libraries
  • -s, --setup: Set up build environment before building
  • -o, --output DIR: Set output directory (default: /var/local/deb)
  • -p, --prefix DIR: Set source path prefix (default: /usr/src)
  • -r, --repo: Set up local repository after building
  • -c, --clone: Clone required repositories before building
  • -g, --git-https: Use HTTPS instead of SSH for git cloning

Examples

Set up environment, clone repositories, and build all dependencies:

./build-dependencies.sh --build-number 123 --setup --all --repo --clone

Complete build with all options (setup environment, build all libraries, create local repo, clone repos with HTTPS):

./build-dependencies.sh --build-number 123 --setup --all --repo --clone --git-https

Build specific libraries with full automation:

./build-dependencies.sh --build-number 123 --setup --repo --clone --git-https libks signalwire-c

Running in Docker

You can run the build script inside a Docker container for a clean, isolated build environment:

docker run -it -v $(pwd):/root/scripts debian:bookworm bash -c "cd /root/scripts && bash"