diff options
| author | Hongxu Jia <hongxu.jia@windriver.com> | 2017-07-24 03:04:05 -0400 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-08-13 13:19:00 +0200 |
| commit | 2765893df7b4de6c357aa13f7c376ebf6253f6fd (patch) | |
| tree | 20eb3633dcf9593f2455359da61bf0b3b13d92fe /meta-oe/recipes-support/libbytesize/libbytesize_0.10.bb | |
| parent | 89e1d189e3a0c69b65dfdda5525d86882c2edba7 (diff) | |
| download | meta-openembedded-2765893df7b4de6c357aa13f7c376ebf6253f6fd.tar.gz | |
libbytesize: add recipe 0.10
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/libbytesize/libbytesize_0.10.bb')
| -rw-r--r-- | meta-oe/recipes-support/libbytesize/libbytesize_0.10.bb | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libbytesize/libbytesize_0.10.bb b/meta-oe/recipes-support/libbytesize/libbytesize_0.10.bb new file mode 100644 index 0000000000..6903021490 --- /dev/null +++ b/meta-oe/recipes-support/libbytesize/libbytesize_0.10.bb | |||
| @@ -0,0 +1,34 @@ | |||
| 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 = "369127c0edbba7d1a4e2e02486375dd9d379524f" | ||
| 13 | PV = "0.10+git${SRCPV}" | ||
| 14 | SRC_URI = "git://github.com/rhinstaller/libbytesize;branch=master \ | ||
| 15 | file://0001-remove-python2-support.patch \ | ||
| 16 | " | ||
| 17 | |||
| 18 | inherit gettext autotools python3native | ||
| 19 | |||
| 20 | DEPENDS += " \ | ||
| 21 | libpcre \ | ||
| 22 | gmp \ | ||
| 23 | mpfr \ | ||
| 24 | " | ||
| 25 | |||
| 26 | FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}/bytesize" | ||
| 27 | |||
| 28 | PACKAGECONFIG ??= "python3" | ||
| 29 | PACKAGECONFIG[python3] = "--with-python3, --without-python3,,python3" | ||
| 30 | PACKAGECONFIG[doc] = "--with-gtk-doc, --without-gtk-doc, gtk-doc-native" | ||
| 31 | |||
| 32 | EXTRA_OEMAKE = "py3libdir=${PYTHON_SITEPACKAGES_DIR}" | ||
| 33 | |||
| 34 | |||
