mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 16:35:07 +03:00
new file: projects/libimobiledevice.org/libusbmuxd/package.yml
This commit is contained in:
parent
dd9bd82c3e
commit
9a57c0d807
1 changed files with 44 additions and 0 deletions
44
projects/libimobiledevice.org/libusbmuxd/package.yml
Normal file
44
projects/libimobiledevice.org/libusbmuxd/package.yml
Normal 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}}
|
Loading…
Reference in a new issue