Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame^] | 1 | DESCRIPTION = "The goal of this project is to provide a tiny library that would \ |
| 2 | facilitate the common operations with sizes in bytes." |
| 3 | HOMEPAGE = "https://github.com/rhinstaller/libbytesize" |
| 4 | LICENSE = "LGPLv2+" |
| 5 | SECTION = "devel/lib" |
| 6 | |
| 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c07cb499d259452f324bb90c3067d85c" |
| 8 | |
| 9 | S = "${WORKDIR}/git" |
| 10 | B = "${S}" |
| 11 | |
| 12 | SRCREV = "e64e752a28a4a41b0a43cba3bedf9571c22af807" |
| 13 | SRC_URI = "git://github.com/rhinstaller/libbytesize;branch=master" |
| 14 | |
| 15 | inherit gettext autotools python3native |
| 16 | |
| 17 | DEPENDS += " \ |
| 18 | libpcre2 \ |
| 19 | gmp \ |
| 20 | mpfr \ |
| 21 | gettext-native \ |
| 22 | " |
| 23 | |
| 24 | FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}/bytesize" |
| 25 | |
| 26 | PACKAGECONFIG ??= "python3" |
| 27 | PACKAGECONFIG[python3] = "--with-python3, --without-python3,,python3-core" |
| 28 | |
| 29 | EXTRA_OECONF = "--without-gtk-doc" |
| 30 | EXTRA_OEMAKE = "py3libdir=${PYTHON_SITEPACKAGES_DIR}" |