Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 0 additions & 25 deletions .github/scripts/brew.sh

This file was deleted.

4 changes: 1 addition & 3 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,7 @@ jobs:
- if: runner.os == 'macOS'
name: Install automake via brew
run: |
bash .github/scripts/brew.sh automake libtool
echo "$HOME/.brew/bin" >> $GITHUB_PATH
echo "$HOME/.brew/sbin" >> $GITHUB_PATH
brew install autoconf automake libtool gettext

- id: get
run: |
Expand Down
23 changes: 21 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ This project is separated into two packages:

* `libarchive`: the Haskell bindings (this is what you want to depend on)
* `libarchive-clib`: bundled C sources to avoid depending on system libarchive
* `zlib-clib`: bundled C sources to avoid depending on system zlib

## Installing from Git

Expand All @@ -25,8 +24,28 @@ source-repository-package
tag: <sha>
subdir: libarchive
libarchive-clib
zlib-clib
post-checkout-command: sh -c "cd libarchive-clib && autoreconf -i"
```

## Features

The following cabal flags of `libarchive-clib` control unpacking features:

* zlib: Build support for gzip through zlib (default enabled)
* iconv: Link against iconv (default disabled)
* lz4: Build support for lz4 through liblz4 (default disabled)
* zstd: Build support for zstd through libzstd (default disabled)
* lzma: Build support for xz through lzma (default disabled)
* bz2lib: Build support for bzip2 through bz2lib (default disabled)
* acl: Enable ACL support (default disabled)
* xattr: Extended Attributes support (default disabled)

At least `zlib` is necessary to unpack zip archives.

You can force it in `cabal.project` as such:

```
package libarchive-clib
flags: +zlib
```

Loading
Loading