diff options
Diffstat (limited to 'meta/recipes-extended/gzip/gzip_1.11.bb')
-rw-r--r-- | meta/recipes-extended/gzip/gzip_1.11.bb | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/meta/recipes-extended/gzip/gzip_1.11.bb b/meta/recipes-extended/gzip/gzip_1.11.bb new file mode 100644 index 0000000000..eb3054cc48 --- /dev/null +++ b/meta/recipes-extended/gzip/gzip_1.11.bb | |||
@@ -0,0 +1,39 @@ | |||
1 | require gzip.inc | ||
2 | |||
3 | LICENSE = "GPLv3+" | ||
4 | |||
5 | SRC_URI = "${GNU_MIRROR}/gzip/${BP}.tar.gz \ | ||
6 | file://run-ptest \ | ||
7 | " | ||
8 | SRC_URI:append:class-target = " file://wrong-path-fix.patch" | ||
9 | |||
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ | ||
11 | file://gzip.h;beginline=8;endline=20;md5=6e47caaa630e0c8bf9f1bc8d94a8ed0e" | ||
12 | |||
13 | PROVIDES:append:class-native = " gzip-replacement-native" | ||
14 | |||
15 | RDEPENDS:${PN}-ptest += "make perl grep diffutils" | ||
16 | |||
17 | BBCLASSEXTEND = "native nativesdk" | ||
18 | |||
19 | inherit ptest | ||
20 | |||
21 | do_install_ptest() { | ||
22 | mkdir -p ${D}${PTEST_PATH}/src/build-aux | ||
23 | cp ${S}/build-aux/test-driver ${D}${PTEST_PATH}/src/build-aux/ | ||
24 | mkdir -p ${D}${PTEST_PATH}/src/tests | ||
25 | cp -r ${S}/tests/* ${D}${PTEST_PATH}/src/tests | ||
26 | sed -e 's/^abs_srcdir = ..*/abs_srcdir = \.\./' \ | ||
27 | -e 's/^top_srcdir = ..*/top_srcdir = \.\./' \ | ||
28 | -e 's/^GREP = ..*/GREP = grep/' \ | ||
29 | -e 's/^AWK = ..*/AWK = awk/' \ | ||
30 | -e 's/^srcdir = ..*/srcdir = \./' \ | ||
31 | -e 's/^Makefile: ..*/Makefile: /' \ | ||
32 | -e 's,--sysroot=${STAGING_DIR_TARGET},,g' \ | ||
33 | -e 's|${DEBUG_PREFIX_MAP}||g' \ | ||
34 | -e 's:${HOSTTOOLS_DIR}/::g' \ | ||
35 | -e 's:${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}::g' \ | ||
36 | ${B}/tests/Makefile > ${D}${PTEST_PATH}/src/tests/Makefile | ||
37 | } | ||
38 | |||
39 | SRC_URI[sha256sum] = "3e8a0e0c45bad3009341dce17d71536c4c655d9313039021ce7554a26cd50ed9" | ||