xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/libbytesize/libbytesize_2.6.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
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
9S = "${WORKDIR}/git"
10B = "${S}"
11
12SRCREV = "c9864f4dd03736839f40d225da494cb1eb64e654"
13SRC_URI = "git://github.com/rhinstaller/libbytesize;branch=master;protocol=https"
14
15inherit gettext autotools pkgconfig python3native
16
17DEPENDS += " \
18    libpcre2 \
19    gmp \
20    mpfr \
21    gettext-native \
22"
23
24FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR}/bytesize"
25
26PACKAGECONFIG ??= "python3"
27PACKAGECONFIG[python3] = "--with-python3, --without-python3,,python3-core"
28
29EXTRA_OECONF = "--without-gtk-doc"
30EXTRA_OEMAKE = "py3libdir=${PYTHON_SITEPACKAGES_DIR}"
31