# -*- 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.8.9 v
revision            0

categories          sysutils
license             GPL-2+
maintainers         {@hsiankao 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  dfb5c2f8ed84ffce626afa9be00cf64c6c5e32af \
                    sha256  e19b1a4ff15971e12f4b7291b6cc40dedc71d0807763b64768ceaef0de4686e8 \
                    size    200805

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
