diff options
Diffstat (limited to 'meta-oe/recipes-extended/7zip/bit7z_4.0.9.bb')
| -rw-r--r-- | meta-oe/recipes-extended/7zip/bit7z_4.0.9.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/7zip/bit7z_4.0.9.bb b/meta-oe/recipes-extended/7zip/bit7z_4.0.9.bb new file mode 100644 index 0000000000..2b9029d9e3 --- /dev/null +++ b/meta-oe/recipes-extended/7zip/bit7z_4.0.9.bb | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | SUMMARY = "A C++ static library offering a clean and simple interface to the 7-Zip shared libraries" | ||
| 2 | HOMEPAGE = "https://github.com/rikyoz/bit7z" | ||
| 3 | LICENSE = "MPL-2.0" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=48a3fe23ed1353e0995dadfda05ffdb6" | ||
| 5 | |||
| 6 | SRC_URI = " \ | ||
| 7 | git://github.com/rikyoz/bit7z.git;protocol=https;branch=master \ | ||
| 8 | file://0001-cmake-disable-dependency-inclusion.patch \ | ||
| 9 | file://0001-Fix-reinterpret-cast-compiler-errors.patch \ | ||
| 10 | file://0001-Fix-int8_t-storage-in-BitPropVariant-on-Arm-architec.patch \ | ||
| 11 | " | ||
| 12 | |||
| 13 | SRCREV = "386e00ad3286e7a10e5bb6d05a5b41b523fce623" | ||
| 14 | |||
| 15 | S = "${WORKDIR}/git" | ||
| 16 | |||
| 17 | inherit cmake | ||
| 18 | |||
| 19 | DEPENDS = "7zip" | ||
| 20 | |||
| 21 | EXTRA_OECMAKE += "-DBIT7Z_CUSTOM_7ZIP_PATH=${STAGING_INCDIR}/7zip" | ||
| 22 | |||
| 23 | do_install() { | ||
| 24 | install -d ${D}${libdir} | ||
| 25 | install -m 0644 ${S}/lib/*/*.a ${D}${libdir} | ||
| 26 | |||
| 27 | install -d ${D}${includedir}/${BPN} | ||
| 28 | install -m 0644 ${S}/include/${BPN}/*.hpp ${D}${includedir}/${BPN} | ||
| 29 | } | ||
