Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 1 | SUMMARY = "Lossless data compressor based on the LZMA algorithm" |
| 2 | HOMEPAGE = "http://lzip.nongnu.org/lzip.html" |
Andrew Geissler | 95ac1b8 | 2021-03-31 14:34:31 -0500 | [diff] [blame] | 3 | DESCRIPTION = "Lzip is a lossless data compressor with a user interface similar to the one of gzip or bzip2. Lzip uses a simplified form of the Lempel-Ziv-Markov chain-Algorithm (LZMA) stream format, chosen to maximize safety and interoperability." |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 4 | SECTION = "console/utils" |
| 5 | LICENSE = "GPLv2+" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=76d6e300ffd8fb9d18bd9b136a9bba13 \ |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 7 | file://decoder.cc;beginline=3;endline=16;md5=18c279060cd0be128188404b45837f88 \ |
| 8 | " |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 9 | |
| 10 | SRC_URI = "${SAVANNAH_GNU_MIRROR}/lzip/lzip-${PV}.tar.gz" |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 11 | SRC_URI[sha256sum] = "c3342d42e67139c165b8b128d033b5c96893a13ac5f25933190315214e87a948" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 12 | |
| 13 | B = "${WORKDIR}/build" |
| 14 | do_configure[cleandirs] = "${B}" |
| 15 | |
| 16 | CONFIGUREOPTS = "\ |
| 17 | '--srcdir=${S}' \ |
| 18 | '--prefix=${prefix}' \ |
| 19 | '--exec-prefix=${exec_prefix}' \ |
| 20 | '--bindir=${bindir}' \ |
| 21 | '--datadir=${datadir}' \ |
| 22 | '--infodir=${infodir}' \ |
| 23 | '--sysconfdir=${sysconfdir}' \ |
| 24 | 'CXX=${CXX}' \ |
| 25 | 'CPPFLAGS=${CPPFLAGS}' \ |
| 26 | 'CXXFLAGS=${CXXFLAGS}' \ |
| 27 | 'LDFLAGS=${LDFLAGS}' \ |
| 28 | " |
| 29 | |
| 30 | do_configure () { |
| 31 | ${S}/configure ${CONFIGUREOPTS} |
| 32 | } |
| 33 | |
| 34 | do_install () { |
| 35 | oe_runmake 'DESTDIR=${D}' install |
| 36 | # Info dir listing isn't interesting at this point so remove it if it exists. |
| 37 | if [ -e "${D}${infodir}/dir" ]; then |
| 38 | rm -f ${D}${infodir}/dir |
| 39 | fi |
| 40 | } |
| 41 | |
| 42 | BBCLASSEXTEND = "native nativesdk" |