summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/libbytesize/libbytesize_2.11.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/libbytesize/libbytesize_2.11.bb')
-rw-r--r--meta-oe/recipes-support/libbytesize/libbytesize_2.11.bb28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libbytesize/libbytesize_2.11.bb b/meta-oe/recipes-support/libbytesize/libbytesize_2.11.bb
new file mode 100644
index 0000000000..ef2a6c76fb
--- /dev/null
+++ b/meta-oe/recipes-support/libbytesize/libbytesize_2.11.bb
@@ -0,0 +1,28 @@
1DESCRIPTION = "The goal of this project is to provide a tiny library that would \
2facilitate the common operations with sizes in bytes."
3HOMEPAGE = "https://github.com/rhinstaller/libbytesize"
4LICENSE = "LGPL-2.0-or-later"
5SECTION = "devel/lib"
6
7LIC_FILES_CHKSUM = "file://LICENSE;md5=c07cb499d259452f324bb90c3067d85c"
8
9
10SRCREV = "9da72b2732508b0ba0ceed27f5e50bc276ef31f2"
11SRC_URI = "git://github.com/storaged-project/libbytesize;branch=main;protocol=https"
12
13inherit gettext autotools pkgconfig python3native
14
15DEPENDS += " \
16 libpcre2 \
17 gmp \
18 mpfr \
19 gettext-native \
20"
21
22FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR}/bytesize"
23
24PACKAGECONFIG ??= "python3"
25PACKAGECONFIG[python3] = "--with-python3, --without-python3,,python3-core"
26
27EXTRA_OECONF = "--without-gtk-doc"
28EXTRA_OEMAKE = "py3libdir=${PYTHON_SITEPACKAGES_DIR}"