mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
new file: projects/libimobiledevice.org/libplist/package.yml
This commit is contained in:
parent
a68f4322d7
commit
bdf9742ffd
1 changed files with 43 additions and 0 deletions
43
projects/libimobiledevice.org/libplist/package.yml
Normal file
43
projects/libimobiledevice.org/libplist/package.yml
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
distributable:
|
||||||
|
url: https://github.com/libimobiledevice/libplist/releases/download/{{version}}/libplist-{{version}}.tar.bz2
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
versions:
|
||||||
|
github: libimobiledevice/libplist
|
||||||
|
|
||||||
|
build:
|
||||||
|
script:
|
||||||
|
- ./configure $ARGS
|
||||||
|
- make
|
||||||
|
- make install
|
||||||
|
env:
|
||||||
|
ARGS:
|
||||||
|
- --disable-debug
|
||||||
|
- --disable-dependency-tracking
|
||||||
|
- --prefix={{prefix}}
|
||||||
|
- --libdir={{prefix}}/lib
|
||||||
|
- --disable-silent-rules
|
||||||
|
- --without-cython
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/plistutil
|
||||||
|
|
||||||
|
test:
|
||||||
|
- run: plistutil -i $FIXTURE -o test_binary.plist
|
||||||
|
fixture:
|
||||||
|
content: |
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>Label</key>
|
||||||
|
<string>test</string>
|
||||||
|
<key>ProgramArguments</key>
|
||||||
|
<array>
|
||||||
|
<string>/bin/echo</string>
|
||||||
|
</array>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
||||||
|
extname: plist
|
||||||
|
- ls | grep test_binary.plist
|
||||||
|
- plistutil --version | grep {{version}}
|
Loading…
Reference in a new issue