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 | |
William A. Kennington III | 49e9566 | 2021-09-15 16:19:36 -0700 | [diff] [blame] | 12 | SRCREV = "c9864f4dd03736839f40d225da494cb1eb64e654" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 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 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 24 | FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR}/bytesize" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 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}" |