summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/libbytesize/libbytesize_0.10.bb
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2017-07-24 03:04:05 -0400
committerMartin Jansa <Martin.Jansa@gmail.com>2017-08-13 13:19:00 +0200
commit2765893df7b4de6c357aa13f7c376ebf6253f6fd (patch)
tree20eb3633dcf9593f2455359da61bf0b3b13d92fe /meta-oe/recipes-support/libbytesize/libbytesize_0.10.bb
parent89e1d189e3a0c69b65dfdda5525d86882c2edba7 (diff)
downloadmeta-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.bb34
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 @@
1DESCRIPTION = "The goal of this project is to provide a tiny library that would \
2facilitate the common operations with sizes in bytes."
3HOMEPAGE = "https://github.com/rhinstaller/libbytesize"
4LICENSE = "LGPLv2+"
5SECTION = "devel/lib"
6
7LIC_FILES_CHKSUM = "file://LICENSE;md5=c07cb499d259452f324bb90c3067d85c"
8
9S = "${WORKDIR}/git"
10B = "${S}"
11
12SRCREV = "369127c0edbba7d1a4e2e02486375dd9d379524f"
13PV = "0.10+git${SRCPV}"
14SRC_URI = "git://github.com/rhinstaller/libbytesize;branch=master \
15 file://0001-remove-python2-support.patch \
16"
17
18inherit gettext autotools python3native
19
20DEPENDS += " \
21 libpcre \
22 gmp \
23 mpfr \
24"
25
26FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}/bytesize"
27
28PACKAGECONFIG ??= "python3"
29PACKAGECONFIG[python3] = "--with-python3, --without-python3,,python3"
30PACKAGECONFIG[doc] = "--with-gtk-doc, --without-gtk-doc, gtk-doc-native"
31
32EXTRA_OEMAKE = "py3libdir=${PYTHON_SITEPACKAGES_DIR}"
33
34