mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
48 lines
1.2 KiB
YAML
48 lines
1.2 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
|
|
# 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}}
|
|
- inetcat -v | grep {{version}}
|