# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           cgit 1.0

cgit.setup          git.kernel.org/pub/scm/linux/kernel/git/xiang/ erofs-utils 1.9.4 v
revision            0

categories          sysutils
license             GPL-2+
maintainers         {@hsiangkao kernel.org:xiang+macports} openmaintainer
description         Userspace utilities for EROFS file system
long_description    EROFS stands for Enhanced Read-Only File System.  It aims \
                    to be a generic read-only file system solution for various \
                    use cases instead of just focusing on saving storage space \
                    without considering runtime performance. \
                    This package includes tools to create, check, and extract \
                    EROFS images.
homepage            https://erofs.docs.kernel.org/

configure.checks.implicit_function_declaration.whitelist-append strchr

checksums           rmd160  b811ab9042db09a4042eda6312d43dcb9eebd79f \
                    sha256  9441fdbcdbae8eaf67f4191c42d41934254582a27244db60dc5a14ace9aee2fe \
                    size    273410

autoconf.cmd        ./autogen.sh

configure.args      --enable-multithreading --with-uuid --enable-lz4 --enable-lzma --with-libzstd

use_autoconf        yes

depends_build-append \
                    port:autoconf \
                    port:automake \
                    port:libtool \
                    port:pkgconfig

depends_lib-append  port:libuuid \
                    port:lz4 \
                    port:zlib \
                    port:zstd
