2023-06-19 17:05:13 +03:00
|
|
|
|
distributable:
|
|
|
|
|
url: https://github.com/CocoaPods/CocoaPods/archive/{{version}}.tar.gz
|
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
|
|
versions:
|
|
|
|
|
github: CocoaPods/CocoaPods
|
|
|
|
|
|
|
|
|
|
dependencies:
|
2024-02-06 22:01:40 +03:00
|
|
|
|
# 3.3.0 gives a the same segfault as
|
|
|
|
|
# https://stackoverflow.com/questions/77725755/segmentation-fault-during-rails-assetsprecompile-on-apple-silicon-m3-with-rub
|
|
|
|
|
# on linux/aarch64 since 1.5.0
|
|
|
|
|
ruby-lang.org: ~3.2
|
2023-06-19 17:05:13 +03:00
|
|
|
|
sourceware.org/libffi: ^3
|
|
|
|
|
rubygems.org: ^3
|
|
|
|
|
git-scm.org: ^2
|
|
|
|
|
|
|
|
|
|
build:
|
|
|
|
|
env:
|
|
|
|
|
GEM_HOME: ${{prefix}}
|
|
|
|
|
GEM_PATH: ${{prefix}}
|
|
|
|
|
|
|
|
|
|
# FIXME ruby’s mkmf needs patching to check CPATH
|
|
|
|
|
CFLAGS: -I{{deps.sourceware.org/libffi.prefix}}/include
|
|
|
|
|
script:
|
|
|
|
|
- gem build cocoapods.gemspec
|
|
|
|
|
- gem install cocoapods-{{version}}.gem
|
|
|
|
|
|
|
|
|
|
- run: |
|
|
|
|
|
mv {{prefix}}/bin/* .
|
|
|
|
|
cp $SRCROOT/props/proxy {{prefix}}/bin/pod
|
2023-10-02 03:41:57 +03:00
|
|
|
|
working-directory: ${{prefix}}/gems/bin
|
2023-06-19 17:05:13 +03:00
|
|
|
|
|
|
|
|
|
provides:
|
|
|
|
|
- bin/pod
|
|
|
|
|
|
|
|
|
|
test:
|
|
|
|
|
env:
|
|
|
|
|
# some of our test containers are raw and thus run as root
|
|
|
|
|
COCOAPODS_ALLOW_ROOT: 1
|
2023-10-02 03:41:57 +03:00
|
|
|
|
script: pod --version
|