Skip to content

Commit aa5c4f6

Browse files
rhubertjkloetzke
authored andcommitted
add perl::string-crc32 v2.100
1 parent 44a98ca commit aa5c4f6

2 files changed

Lines changed: 29 additions & 0 deletions

File tree

recipes/perl/string-crc32.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
inherit: ["perl5::build", make, install]
2+
3+
metaEnvironment:
4+
PKG_DESCRIPTION: "Perl string CRC32 module"
5+
PKG_VERSION: "2.100"
6+
PKG_LICENSE: "Public Domain"
7+
8+
checkoutSCM:
9+
scm: url
10+
url: https://cpan.metacpan.org/authors/id/L/LE/LEEJO/String-CRC32-${PKG_VERSION}.tar.gz
11+
digestSHA1: "09a0dafc1bc49f7cc04122a6859eb007e86ec22c"
12+
stripComponents: 1
13+
14+
buildTools: [target-toolchain]
15+
buildScript: |
16+
mkdir -p build && pushd build
17+
rsync -a --delete $1/ .
18+
perl Makefile.PL static
19+
20+
makeParallel
21+
make install DESTDIR=$(pwd)/../install
22+
popd
23+
24+
multiPackage:
25+
dev:
26+
packageScript: installPackageDev $1 "/usr/lib/***"
27+
tgt:
28+
packageScript: installPackageTgt $1 "/usr/lib/***"

tests/buildall/recipes/all.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ depends:
111111
- net::tcpdump
112112
- net::wget
113113

114+
- perl::string-crc32-tgt
114115
- perl::xml-parser-tgt
115116

116117
- python::build

0 commit comments

Comments
 (0)