package/libbytesize: new package

Libbytesize is a small library providing a C "class" for working with
arbitrary big sizes in bytes.

The mdraid plugin for libblockdev depends on this package, which newer
versions of udisks require when building with the udisks daemon
enabled.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Adam Duskett
2020-07-25 16:06:08 -07:00
committed by Thomas Petazzoni
parent 0c52826291
commit bf87263b6d
6 changed files with 78 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
################################################################################
#
# libbytesize
#
################################################################################
LIBBYTESIZE_VERSION = 2.3
LIBBYTESIZE_SITE = https://github.com/storaged-project/libbytesize/releases/download/$(LIBBYTESIZE_VERSION)
LIBBYTESIZE_LICENSE = LGPL-2.1+
LIBBYTESIZE_LICENSE_FILES = LICENSE
LIBBYTESIZE_INSTALL_STAGING = YES
# 0001-remove-msgcat-dependency.patch
LIBBYTESIZE_AUTORECONF = YES
LIBBYTESIZE_DEPENDENCIES = \
host-pkgconf \
host-gettext \
gmp \
mpfr \
pcre2
LIBBYTESIZE_CONF_OPTS += \
--without-python3 \
--without-tools
$(eval $(autotools-package))