2018-11-08 22:51:07 -05:00
|
|
|
DESCRIPTION = "The goal of this project is to provide a tiny library that would \
|
|
|
|
facilitate the common operations with sizes in bytes."
|
|
|
|
HOMEPAGE = "https://github.com/rhinstaller/libbytesize"
|
2022-05-28 11:20:07 -04:00
|
|
|
LICENSE = "LGPL-2.0-or-later"
|
2018-11-08 22:51:07 -05:00
|
|
|
SECTION = "devel/lib"
|
|
|
|
|
|
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=c07cb499d259452f324bb90c3067d85c"
|
|
|
|
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
B = "${S}"
|
|
|
|
|
2021-10-06 15:27:34 -04:00
|
|
|
SRCREV = "c9864f4dd03736839f40d225da494cb1eb64e654"
|
2022-05-28 11:20:07 -04:00
|
|
|
SRC_URI = "git://github.com/rhinstaller/libbytesize;branch=master;protocol=https"
|
2018-11-08 22:51:07 -05:00
|
|
|
|
2021-10-06 15:27:34 -04:00
|
|
|
inherit gettext autotools pkgconfig python3native
|
2018-11-08 22:51:07 -05:00
|
|
|
|
|
|
|
DEPENDS += " \
|
2021-10-06 15:27:34 -04:00
|
|
|
libpcre2 \
|
2018-11-08 22:51:07 -05:00
|
|
|
gmp \
|
|
|
|
mpfr \
|
2021-10-06 15:27:34 -04:00
|
|
|
gettext-native \
|
2018-11-08 22:51:07 -05:00
|
|
|
"
|
|
|
|
|
2022-05-28 11:20:07 -04:00
|
|
|
FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR}/bytesize"
|
2018-11-08 22:51:07 -05:00
|
|
|
|
|
|
|
PACKAGECONFIG ??= "python3"
|
2021-10-06 15:27:34 -04:00
|
|
|
PACKAGECONFIG[python3] = "--with-python3, --without-python3,,python3-core"
|
2018-11-08 22:51:07 -05:00
|
|
|
|
2021-10-06 15:27:34 -04:00
|
|
|
EXTRA_OECONF = "--without-gtk-doc"
|
2018-11-08 22:51:07 -05:00
|
|
|
EXTRA_OEMAKE = "py3libdir=${PYTHON_SITEPACKAGES_DIR}"
|