blob: 099b364702aafd7b99d453326bdeee461fa915d5 [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001SUMMARY = "Lossless data compressor based on the LZMA algorithm"
2HOMEPAGE = "http://lzip.nongnu.org/lzip.html"
3SECTION = "console/utils"
4LICENSE = "GPLv2+"
5LIC_FILES_CHKSUM = "file://COPYING;md5=76d6e300ffd8fb9d18bd9b136a9bba13 \
6 file://decoder.cc;beginline=3;endline=16;md5=db09fe3f9573f94d0076f7f07959e6e1"
7
8SRC_URI = "${SAVANNAH_GNU_MIRROR}/lzip/lzip-${PV}.tar.gz"
9
10SRC_URI[md5sum] = "4dd8790d7528440d034fc713a8680bd3"
11SRC_URI[sha256sum] = "ffadc4f56be1bc0d3ae155ec4527bd003133bdc703a753b2cc683f610e646ba9"
12
13CONFIGUREOPTS = "\
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"
26EXTRA_OEMAKE = ""
27
28B = "${S}/obj"
29do_configure () {
30 ${S}/configure ${CONFIGUREOPTS}
31}
32
33do_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
41BBCLASSEXTEND = "native nativesdk"