Skip to content

Commit a0d0809

Browse files
committed
add perl::string-crc32 v2.100
1 parent 9cd64e0 commit a0d0809

2 files changed

Lines changed: 30 additions & 0 deletions

File tree

recipes/perl/string-crc32.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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+
# buildVars: [AR, CC, LD]
16+
buildScript: |
17+
mkdir -p build && pushd build
18+
rsync -a --delete $1/ .
19+
perl Makefile.PL static
20+
21+
makeParallel
22+
make install DESTDIR=$(pwd)/../install
23+
popd
24+
25+
multiPackage:
26+
dev:
27+
packageScript: installPackageDev $1 "/usr/lib/***"
28+
tgt:
29+
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)