Patrick Williams | 73bd93f | 2024-02-20 08:07:48 -0600 | [diff] [blame] | 1 | SUMMARY = "Data compression library providing in-memory LZMA compression and decompression functions" |
| 2 | HOMEPAGE = "https://www.nongnu.org/lzip/lzlib.html" |
| 3 | DESCRIPTION = "Lzlib is a data compression library providing in-memory LZMA compression and decompression functions, including integrity checking of the decompressed data. The compressed data format used by the library is the lzip format. Lzlib is written in C. " |
| 4 | LICENSE = "BSD-2-Clause" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=04d943636aa1482e0a97d924d9f4f68f \ |
| 6 | " |
| 7 | |
| 8 | SRC_URI = "${SAVANNAH_GNU_MIRROR}/lzip/lzlib/lzlib-${PV}.tar.gz" |
| 9 | SRC_URI[sha256sum] = "5acac8714ed4f306020bae660dddce706e5f8a795863679037da9fe6bf4dcf6f" |
| 10 | |
| 11 | B = "${WORKDIR}/build" |
| 12 | do_configure[cleandirs] = "${B}" |
| 13 | |
| 14 | CONFIGUREOPTS = "\ |
| 15 | '--srcdir=${S}' \ |
| 16 | '--prefix=${prefix}' \ |
| 17 | '--exec-prefix=${exec_prefix}' \ |
| 18 | '--bindir=${bindir}' \ |
| 19 | '--datadir=${datadir}' \ |
| 20 | '--infodir=${infodir}' \ |
| 21 | '--libdir=${libdir}' \ |
| 22 | '--sysconfdir=${sysconfdir}' \ |
| 23 | '--enable-shared' \ |
| 24 | '--disable-static' \ |
| 25 | 'CC=${CC}' \ |
| 26 | 'CPPFLAGS=${CPPFLAGS}' \ |
| 27 | 'CXXFLAGS=${CXXFLAGS}' \ |
| 28 | 'LDFLAGS=${LDFLAGS}' \ |
| 29 | " |
| 30 | |
| 31 | do_configure () { |
| 32 | ${S}/configure ${CONFIGUREOPTS} |
| 33 | } |
| 34 | |
| 35 | do_install () { |
| 36 | oe_runmake 'DESTDIR=${D}' install |
| 37 | } |
| 38 | |
| 39 | BBCLASSEXTEND = "native nativesdk" |