Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [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 = "ebbda2217d177d2a17f917d7a3e3d132a26db791" |
| 13 | SRC_URI = "git://github.com/rhinstaller/libbytesize;branch=master \ |
| 14 | " |
| 15 | |
| 16 | inherit gettext autotools python3native |
| 17 | |
| 18 | DEPENDS += " \ |
| 19 | libpcre \ |
| 20 | gmp \ |
| 21 | mpfr \ |
| 22 | " |
| 23 | |
| 24 | FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}/bytesize" |
| 25 | |
| 26 | PACKAGECONFIG ??= "python3" |
| 27 | PACKAGECONFIG[python3] = "--with-python3, --without-python3,,python3" |
| 28 | PACKAGECONFIG[python2] = "--with-python2, --without-python2,,python2" |
| 29 | PACKAGECONFIG[doc] = "--with-gtk-doc, --without-gtk-doc, gtk-doc-native" |
| 30 | |
| 31 | EXTRA_OEMAKE = "py3libdir=${PYTHON_SITEPACKAGES_DIR}" |
| 32 | |
| 33 | |