From d71213e0868f8eb4e5448e6a39761ff5dfd31e1b Mon Sep 17 00:00:00 2001 From: Andrew <51118083+ArionThinker@users.noreply.github.com> Date: Fri, 16 Jun 2023 20:07:27 +0300 Subject: [PATCH] wimlib.net (#2209) * new file: projects/wimlib.net/package.yml * brewkit fix should reduce automake requirements --------- Co-authored-by: Jacob Heider --- projects/wimlib.net/package.yml | 65 +++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 projects/wimlib.net/package.yml diff --git a/projects/wimlib.net/package.yml b/projects/wimlib.net/package.yml new file mode 100644 index 00000000..2e0424a5 --- /dev/null +++ b/projects/wimlib.net/package.yml @@ -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