diff options
-rw-r--r-- | meta-oe/recipes-extended/zstd/zstd_1.4.2.bb (renamed from meta-oe/recipes-extended/zstd/zstd_1.4.0.bb) | 35 |
1 files changed, 10 insertions, 25 deletions
diff --git a/meta-oe/recipes-extended/zstd/zstd_1.4.0.bb b/meta-oe/recipes-extended/zstd/zstd_1.4.2.bb index 06357da956..b5d95d940b 100644 --- a/meta-oe/recipes-extended/zstd/zstd_1.4.0.bb +++ b/meta-oe/recipes-extended/zstd/zstd_1.4.2.bb | |||
@@ -11,40 +11,25 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c7f0b161edbe52f5f345a3d1311d0b32 \ | |||
11 | 11 | ||
12 | SRC_URI = "git://github.com/facebook/zstd.git;nobranch=1" | 12 | SRC_URI = "git://github.com/facebook/zstd.git;nobranch=1" |
13 | 13 | ||
14 | SRCREV = "83b51e9f886be7c2a4d477b6e7bc6db831791d8d" | 14 | SRCREV = "ff304e9e65e7cde17a637eea190a874c26c48634" |
15 | UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" | 15 | UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" |
16 | 16 | ||
17 | S = "${WORKDIR}/git" | 17 | S = "${WORKDIR}/git" |
18 | 18 | ||
19 | PACKAGECONFIG ??= "" | ||
20 | PACKAGECONFIG[lz4] = "HAVE_LZ4=1,HAVE_LZ4=0,lz4" | ||
21 | PACKAGECONFIG[lzma] = "HAVE_LZMA=1,HAVE_LZMA=0,xz" | ||
22 | PACKAGECONFIG[zlib] = "HAVE_ZLIB=1,HAVE_ZLIB=0,zlib" | ||
23 | |||
24 | # See programs/README.md for how to use this | ||
25 | ZSTD_LEGACY_SUPPORT ??= "4" | ||
26 | |||
19 | do_compile () { | 27 | do_compile () { |
20 | oe_runmake | 28 | oe_runmake ${PACKAGECONFIG_CONFARGS} ZSTD_LEGACY_SUPPORT=${ZSTD_LEGACY_SUPPORT} |
21 | oe_runmake -C programs zstd-compress zstd-decompress zstd-frugal | ||
22 | } | 29 | } |
23 | 30 | ||
24 | do_install () { | 31 | do_install () { |
25 | oe_runmake install 'DESTDIR=${D}' | 32 | oe_runmake install 'DESTDIR=${D}' |
26 | install -d -m 0755 ${D}${bindir} | ||
27 | install -m 0755 ${S}/programs/zstd-compress ${D}${bindir} | ||
28 | install -m 0755 ${S}/programs/zstd-decompress ${D}${bindir} | ||
29 | install -m 0755 ${S}/programs/zstd-frugal ${D}${bindir} | ||
30 | } | 33 | } |
31 | 34 | ||
32 | PACKAGE_BEFORE_PN += " \ | ||
33 | ${PN}-compress \ | ||
34 | ${PN}-decompress \ | ||
35 | ${PN}-frugal \ | ||
36 | " | ||
37 | |||
38 | FILES_${PN}-compress = " \ | ||
39 | ${bindir}/zstd-compress \ | ||
40 | " | ||
41 | |||
42 | FILES_${PN}-decompress = " \ | ||
43 | ${bindir}/zstd-decompress \ | ||
44 | " | ||
45 | |||
46 | FILES_${PN}-frugal = " \ | ||
47 | ${bindir}/zstd-frugal \ | ||
48 | " | ||
49 | |||
50 | BBCLASSEXTEND = "native nativesdk" | 35 | BBCLASSEXTEND = "native nativesdk" |