Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions recipes/sing-box/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
MACOSX_SDK_VERSION: # [osx]
- "12.3" # [osx]
51 changes: 51 additions & 0 deletions recipes/sing-box/recipe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
context:
version: "1.13.10"

package:
name: sing-box
version: ${{ version }}

source:
url: https://github.com/SagerNet/sing-box/archive/refs/tags/v${{ version }}.tar.gz
sha256: bac2de6fe2f60860af4c8b4fc21180698f1c3562a2fdbcc47c3ce66798db2987

build:
number: 0
script:
- go-licenses save . --save_path library_licenses --ignore github.com/sagernet/
- if: unix
then: make VERSION=${{ version }} PREFIX=$PREFIX install
else: make VERSION=${{ version }} build & cp sing-box.exe %LIBRARY_BIN%

requirements:
build:
- ${{ compiler("go-cgo") }}
- ${{ compiler("c") }}
- ${{ stdlib("c") }}
- go-licenses
- make

tests:
- script:
- sing-box --help
- sing-box version
- package_contents:
strict: true
bin:
- sing-box

about:
homepage: https://github.com/SagerNet/sing-box
summary: The universal proxy platform.
description: |
The universal proxy platform
license: GPL-3.0-or-later
license_file:
- LICENSE
- library_licenses/
documentation: https://sing-box.sagernet.org/
repository: https://github.com/SagerNet/sing-box

extra:
recipe-maintainers:
- XhstormR
Loading