mirror of
https://github.com/ivabus/pantry
synced 2024-11-29 11:45:07 +03:00
beafd62319
closes #5710 closes #5711
43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
distributable:
|
|
url: https://github.com/libimobiledevice/libusbmuxd/releases/download/{{version.tag}}/libusbmuxd-{{version.tag}}.tar.bz2
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: libimobiledevice/libusbmuxd
|
|
|
|
dependencies:
|
|
libimobiledevice.org/libplist: ^2.4
|
|
libimobiledevice.org/libimobiledevice-glue: ^1.2
|
|
|
|
build:
|
|
dependencies:
|
|
gnu.org/libtool: '*'
|
|
script:
|
|
- ./configure $ARGS
|
|
- make --jobs {{hw.concurrency}} install
|
|
# FIXME: this is a hack; we need to fix fixup.ts
|
|
- run: sed -i 's/\+brewing//g' *.la pkgconfig/*.pc
|
|
working-directory: '{{prefix}}/lib'
|
|
env:
|
|
ARGS:
|
|
- --disable-debug
|
|
- --disable-dependency-tracking
|
|
- --disable-silent-rules
|
|
- --prefix={{prefix}}
|
|
- --libdir={{prefix}}/lib
|
|
|
|
provides:
|
|
- bin/iproxy
|
|
- bin/inetcat
|
|
|
|
test:
|
|
dependencies:
|
|
curl.se: '*'
|
|
script:
|
|
- iproxy -s localhost 2222:2223 &
|
|
- PID=$!
|
|
- sleep 2
|
|
- curl -v telnet://localhost:2222 2>&1 | grep 'Connected to localhost'
|
|
- kill $PID
|
|
- iproxy -v | grep {{version}}
|
|
- inetcat -v | grep {{version}}
|