wimlib.net (#2209)

* new file:   projects/wimlib.net/package.yml

* brewkit fix should reduce automake requirements

---------

Co-authored-by: Jacob Heider <jacob@tea.xyz>
This commit is contained in:
Andrew 2023-06-16 20:07:27 +03:00 committed by GitHub
parent 04a96fd3d3
commit d71213e086
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,65 @@
distributable:
url: https://wimlib.net/downloads/wimlib-{{version}}.tar.gz
strip-components: 1
versions:
url: https://wimlib.net/downloads/
match: /wimlib-\d+\.\d+\.\d+\.tar\.gz/
strip:
- /^wimlib-/
- /\.tar\.gz$/
dependencies:
openssl.org: '^3.1.0'
gnome.org/libxml2: '*'
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
freedesktop.org/pkg-config: '*'
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --disable-debug
- --disable-dependency-tracking
- --disable-silent-rules
- --prefix={{prefix}}
- --without-fuse
- --without-ntfs-3g
provides:
- bin/mkwinpeimg
- bin/wimappend
- bin/wimapply
- bin/wimapply
- bin/wimdelete
- bin/wimdir
- bin/wimexport
- bin/wimextract
- bin/wiminfo
- bin/wimjoin
- bin/wimlib-imagex
- bin/wimmount
- bin/wimmountrw
- bin/wimoptimize
- bin/wimsplit
- bin/wimunmount
- bin/wimupdate
- bin/wimverify
test:
env:
WIMLIB_IMAGEX_USE_UTF8: 1
darwin:
SIZE: "1m"
linux:
SIZE: "1M"
script:
- run: dd if=/dev/random of=bar bs=$SIZE count=1
working-directory: foo
- wimcapture foo bar.wim
- test bar.wim
- wiminfo bar.wim