blob: ce764334f16561e3355e5e011fc14dba03485b46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
SUMMARY = "Perl interface to allow reading and writing of compressed data."
DESCRIPTION = "This distribution provides a Perl interface to allow reading \
and writing of compressed data created with the zlib and bzip2. \
\
IO-Compress supports reading and writing of the following compressed data \
formats \
* bzip2 \
* RFC 1950 \
* RFC 1951 \
* RFC 1952 (i.e. gzip) \
* zip \
"
HOMEPAGE = "https://metacpan.org/release/IO-Compress"
SECTION = "libs"
LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
LIC_FILES_CHKSUM = "file://README;beginline=8;endline=10;md5=254a3b5756814db98ee483c8974736c6"
SRC_URI = "${CPAN_MIRROR}/authors/id/P/PM/PMQS/IO-Compress-${PV}.tar.gz"
SRC_URI[sha256sum] = "ae4d01ae574e4568c5f2fb0573e74631e2720b71ad3bc5a3ffe9480f1cb9a851"
S = "${UNPACKDIR}/IO-Compress-${PV}"
inherit cpan
RDEPENDS:${PN} += "\
perl-module-bytes \
perl-module-cwd \
perl-module-encode \
perl-module-file-glob \
perl-module-file-spec \
perl-module-posix \
perl-module-scalar-util \
perl-module-time-local \
perl-module-utf8 \
libcompress-raw-bzip2-perl \
libcompress-raw-zlib-perl \
"
inherit update-alternatives
ALTERNATIVE_PRIORITY = "39"
ALTERNATIVE:${PN} = "streamzip zipdetails"
ALTERNATIVE_LINK_NAME[streamzip] = "${bindir}/streamzip"
ALTERNATIVE_LINK_NAME[zipdetails] = "${bindir}/zipdetails"
BBCLASSEXTEND = "native"
|