PKGNAME=btrfs-progs
PKGSEC=admin
PKGDEP="glibc e2fsprogs lzo systemd reiserfsprogs util-linux zlib zstd"
BUILDDEP="asciidoc xmlto sphinx"
PKGDES="Btrfs filesystem utilities"

ABTYPE=autotools
# FIXME: make: *** No targets specified and no makefile found.  Stop.
ABSHADOW=0
AUTOTOOLS_AFTER=(
    '--enable-largefile'
    '--enable-backtrace'
    '--enable-documentation'
    '--enable-programs'
    '--enable-shared'
    '--disable-static'
    '--enable-convert'
    '--enable-zoned'
    '--enable-zstd'
    '--enable-libudev'
    '--enable-python'
    '--disable-experimental'
    '--enable-lzo'
    '--with-convert=ext2,reiserfs'
    '--with-crypto=builtin'
    'PYTHON=/usr/bin/python3'
)
AUTOTOOLS_AFTER__RETRO=(
    "${AUTOTOOLS_AFTER[@]}"
    '--disable-backtrace'
    '--disable-libudev'
    '--disable-python'
)

# Needed by Afterglow, whereas FAIL_ARCH defaults to mainline-only.
FAIL_ARCH="!(mainline|retro)"
