diff options
| author | Khem Raj <raj.khem@gmail.com> | 2022-08-24 14:53:12 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-08-25 08:01:35 -0700 |
| commit | a54a6b3823dc42f9f95faf75019b7d674d493e07 (patch) | |
| tree | f1bbce91f883baf7b22b8220f41e5cb6349edc85 /meta-oe/recipes-support/libb64/libb64_2.0.0.1.bb | |
| parent | 517c9dab9e73dfe8e02d3723a37e20679d14e84d (diff) | |
| download | meta-openembedded-a54a6b3823dc42f9f95faf75019b7d674d493e07.tar.gz | |
libb64: Switch to github fork and upgrade to 2.0.0.1+git
Many of the patches floating around has been applied to github fork and
seems to be having recent releases.
Drop patches which are either applied or fixed differently in this
version
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/libb64/libb64_2.0.0.1.bb')
| -rw-r--r-- | meta-oe/recipes-support/libb64/libb64_2.0.0.1.bb | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libb64/libb64_2.0.0.1.bb b/meta-oe/recipes-support/libb64/libb64_2.0.0.1.bb new file mode 100644 index 0000000000..8122419c5e --- /dev/null +++ b/meta-oe/recipes-support/libb64/libb64_2.0.0.1.bb | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | SUMMARY = "Base64 Encoding/Decoding Routines" | ||
| 2 | DESCRIPTION = "base64 encoding/decoding library - runtime library \ | ||
| 3 | libb64 is a library of ANSI C routines for fast encoding/decoding data into \ | ||
| 4 | and from a base64-encoded format" | ||
| 5 | HOMEPAGE = "https://github.com/libb64" | ||
| 6 | LICENSE = "PD" | ||
| 7 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=81296a564fa0621472714aae7c763d96" | ||
| 8 | |||
| 9 | PV .= "+2.0.0.2+git${SRCPV}" | ||
| 10 | SRCREV = "ce864b17ea0e24a91e77c7dd3eb2d1ac4175b3f0" | ||
| 11 | |||
| 12 | SRC_URI = "git://github.com/libb64/libb64;protocol=https;branch=master \ | ||
| 13 | file://0001-example-Do-not-run-the-tests.patch \ | ||
| 14 | file://0001-Makefile-fix-parallel-build-of-examples.patch \ | ||
| 15 | file://0001-examples-Use-proper-function-prototype-for-main.patch \ | ||
| 16 | " | ||
| 17 | |||
| 18 | S = "${WORKDIR}/git" | ||
| 19 | |||
| 20 | CFLAGS += "-fPIC" | ||
| 21 | |||
| 22 | do_configure () { | ||
| 23 | : | ||
| 24 | } | ||
| 25 | |||
| 26 | do_compile () { | ||
| 27 | oe_runmake | ||
| 28 | ${CC} ${LDFLAGS} ${CFLAGS} -shared -Wl,-soname,${BPN}.so.0 src/*.o -o src/${BPN}.so.0 | ||
| 29 | } | ||
| 30 | |||
| 31 | do_install () { | ||
| 32 | install -d ${D}${includedir}/b64 | ||
| 33 | install -Dm 0644 ${B}/src/libb64.a ${D}${libdir}/libb64.a | ||
| 34 | install -Dm 0644 ${B}/src/libb64.so.0 ${D}${libdir}/libb64.so.0 | ||
| 35 | ln -s libb64.so.0 ${D}${libdir}/libb64.so | ||
| 36 | install -Dm 0644 ${S}/include/b64/*.h ${D}${includedir}/b64/ | ||
| 37 | } | ||
