blob: 74f1800d18f1c3eefa06525a3e2d605b235f51ab [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001DESCRIPTION = "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 = "LGPLv2+"
5SECTION = "devel/lib"
6
7LIC_FILES_CHKSUM = "file://LICENSE;md5=c07cb499d259452f324bb90c3067d85c"
8
9S = "${WORKDIR}/git"
10B = "${S}"
11
Brad Bishop26bdd442019-08-16 17:08:17 -040012SRCREV = "92c00638a6f846df5c40dbb690f9fcf998ad6df2"
Brad Bishop19323692019-04-05 15:28:33 -040013SRC_URI = "git://github.com/rhinstaller/libbytesize;branch=master \
Brad Bishop26bdd442019-08-16 17:08:17 -040014 file://0001-fix-out-of-tree-build-failure.patch \
Brad Bishop19323692019-04-05 15:28:33 -040015"
16
17inherit gettext autotools python3native
18
19DEPENDS += " \
Brad Bishop26bdd442019-08-16 17:08:17 -040020 libpcre2 \
Brad Bishop19323692019-04-05 15:28:33 -040021 gmp \
22 mpfr \
Brad Bishop26bdd442019-08-16 17:08:17 -040023 gettext-native \
Brad Bishop19323692019-04-05 15:28:33 -040024"
25
26FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}/bytesize"
27
28PACKAGECONFIG ??= "python3"
Brad Bishop26bdd442019-08-16 17:08:17 -040029PACKAGECONFIG[python3] = "--with-python3, --without-python3,,python3-core"
Brad Bishop19323692019-04-05 15:28:33 -040030PACKAGECONFIG[doc] = "--with-gtk-doc, --without-gtk-doc, gtk-doc-native"
31
32EXTRA_OEMAKE = "py3libdir=${PYTHON_SITEPACKAGES_DIR}"
33
34