Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | SUMMARY = "Lossless data compressor based on the LZMA algorithm" |
| 2 | HOMEPAGE = "http://lzip.nongnu.org/lzip.html" |
| 3 | SECTION = "console/utils" |
| 4 | LICENSE = "GPLv2+" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=76d6e300ffd8fb9d18bd9b136a9bba13 \ |
| 6 | file://decoder.cc;beginline=3;endline=16;md5=db09fe3f9573f94d0076f7f07959e6e1" |
| 7 | |
| 8 | SRC_URI = "${SAVANNAH_GNU_MIRROR}/lzip/lzip-${PV}.tar.gz" |
| 9 | |
| 10 | SRC_URI[md5sum] = "21c1517da2ace9689fd953918660b3c3" |
| 11 | SRC_URI[sha256sum] = "c93b81a5a7788ef5812423d311345ba5d3bd4f5ebf1f693911e3a13553c1290c" |
| 12 | |
| 13 | CONFIGUREOPTS = "\ |
| 14 | '--srcdir=${S}' \ |
| 15 | '--prefix=${prefix}' \ |
| 16 | '--exec-prefix=${exec_prefix}' \ |
| 17 | '--bindir=${bindir}' \ |
| 18 | '--datadir=${datadir}' \ |
| 19 | '--infodir=${infodir}' \ |
| 20 | '--sysconfdir=${sysconfdir}' \ |
| 21 | 'CXX=${CXX}' \ |
| 22 | 'CPPFLAGS=${CPPFLAGS}' \ |
| 23 | 'CXXFLAGS=${CXXFLAGS}' \ |
| 24 | 'LDFLAGS=${LDFLAGS}' \ |
| 25 | " |
| 26 | EXTRA_OEMAKE = "" |
| 27 | |
| 28 | B = "${S}/obj" |
| 29 | do_configure () { |
| 30 | ${S}/configure ${CONFIGUREOPTS} |
| 31 | } |
| 32 | |
| 33 | do_install () { |
| 34 | oe_runmake 'DESTDIR=${D}' install |
| 35 | # Info dir listing isn't interesting at this point so remove it if it exists. |
| 36 | if [ -e "${D}${infodir}/dir" ]; then |
| 37 | rm -f ${D}${infodir}/dir |
| 38 | fi |
| 39 | } |
| 40 | |
| 41 | BBCLASSEXTEND = "native nativesdk" |