Signed-off-by: Leon Woestenberg <leon@sidebranch.com>
HOMEPAGE = "http://www.7-zip.org/"
LICENSE = "LGPL"
DEPENDS = "zlib"
-INC_PR = "r1"
+INC_PR = "r2"
SRC_URI = "http://downloads.sourceforge.net/sevenzip/lzma${@bb.data.getVar('PV',d,1).replace('.','')}.tar.bz2 \
file://001-large_files.patch;patch=1 \
CFLAGS += "-c -I${S}"
do_unpack_append() {
- # It has few files with wrong encoding
- os.system("find ${S} -type f -print0 | xargs -0 dos2unix")
+ # Replace MS-DOS line-endings with Unix style line-endings
+ os.system("find ${S} -type f -print0 | xargs -0 sed 's/\r$//' -i")
}
do_compile() {