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