# -*- 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           github 1.0
PortGroup           meson 1.0

conflicts           ossp-uuid

name                libuuid
version             2.42.1
categories          devel
maintainers         nomaintainer
license             BSD

description         Portable uuid C library
long_description    {*}${description}

set branch          [join [lrange [split ${version} .] 0 1] .]
master_sites        https://www.kernel.org/pub/linux/utils/util-linux/v${branch}/
distname            util-linux-${version}

use_xz              yes

checksums           rmd160  ac28aa535cde2b0789aea5bee394c7ca2d1c6972 \
                    sha256  82e9158eb12a9b0b569d84e1687fed9dd18fe89ccd8ef5ac3427218a7c0d7f7f \
                    size    10639396

configure.args      -Dauto_features=disabled \
                    -Dbuild-libuuid=enabled \
                    -Dprogram-tests=false

livecheck.url       https://github.com/util-linux/util-linux/tags
livecheck.regex     {v([0-9.]+)}
