new file: projects/libimobiledevice.org/libusbmuxd/package.yml

This commit is contained in:
Andrii Riabchenko 2024-02-28 12:51:15 +02:00 committed by Jacob Heider
parent dd9bd82c3e
commit 9a57c0d807

View file

@ -0,0 +1,44 @@
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}}