mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 04:25:08 +03:00
44 lines
No EOL
1.1 KiB
YAML
44 lines
No EOL
1.1 KiB
YAML
distributable:
|
|
url: https://github.com/libimobiledevice/libusbmuxd/archive/refs/tags/{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: libimobiledevice/libusbmuxd
|
|
|
|
dependencies:
|
|
libimobiledevice.org/libplist: ^2.4
|
|
|
|
build:
|
|
dependencies:
|
|
gnu.org/autoconf: '*'
|
|
gnu.org/automake: '*'
|
|
gnu.org/libtool: '*'
|
|
# ./configure: line 18023: syntax error near unexpected token `libplist,'
|
|
# ./configure: line 18023: `PKG_CHECK_MODULES(libplist, libplist-2.0 >= $LIBPLIST_VERSION)'
|
|
freedesktop.org/pkg-config: '*'
|
|
script:
|
|
- ./autogen.sh $ARGS
|
|
- make --jobs {{hw.concurrency}} install
|
|
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}} |