PKGNAME=libarchive+32
PKGDES="Library and utility to work with multiple compression formats (32-bit x86 runtime)"
PKGDEP="acl+32 attr+32 bzip2+32 expat+32 lzo+32 openssl+32 xz+32 zlib+32 zstd+32"
BUILDDEP="gcc+32"
PKGSEC=libs

# Note: Mutually exclusive feature sets.
#     (1) mbedtls, nettle, or openssl for cryptography support.
#     (2) [lib]xml2 or expat for xar support.
AUTOTOOLS_AFTER=(
    '--enable-bsdtar=shared'
    '--enable-bsdcat=shared'
    '--enable-bsdcpio=shared'
    '--disable-rpath'
    '--enable-posix-regex-lib=libc'
    '--enable-xattr'
    '--enable-acl'
    '--enable-largefile'
    '--with-zlib'
    '--with-bz2lib'
    '--with-iconv'
    '--with-zstd'
    '--with-lzma'
    '--with-lzo2'
    '--with-cng'
    '--without-mbedtls'
    '--without-nettle'
    '--with-openssl'
    '--without-xml2'
    '--with-expat'
)

AB_FLAGS_O3=1

ABHOST=optenv32
