pantry/projects/libimobiledevice.org/libusbmuxd/package.yml

48 lines
1.2 KiB
YAML
Raw Normal View History

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
2024-03-05 02:34:53 +03:00
# FIXME: this is a hack; we need to fix fixup.ts
- run: sed -i 's/\+brewing//g' *.pc
working-directory: '{{prefix}}/lib/pkgconfig'
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}}
2024-03-05 02:34:53 +03:00
- inetcat -v | grep {{version}}