File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ inherit : [autotools]
2+
3+ metaEnvironment :
4+ PKG_DESCRIPTION : " A perl module for parsing XML documents"
5+ PKG_VERSION : " 2.47"
6+ PKG_LICENSE : " GPL"
7+
8+ depends :
9+ - libs::libxcrypt-dev
10+ - libs::expat-dev
11+ - libs::libxml2-dev
12+ - use : []
13+ depends :
14+ - libs::libxcrypt-tgt
15+ - libs::libxml2-tgt
16+ - libs::expat-tgt
17+
18+ checkoutSCM :
19+ scm : url
20+ url : https://cpan.metacpan.org/authors/id/T/TO/TODDR/XML-Parser-${PKG_VERSION}.tar.gz
21+ digestSHA1 : caa4cc51930cc6bd14c1d5bb1dbf5aeae4ab952b
22+ stripComponents : 1
23+
24+ buildTools : [target-toolchain, perl]
25+ buildVars : [AR, CC, LD]
26+ buildScript : |
27+ mkdir -p build && pushd build
28+ rsync -a --delete $1/ .
29+ perl Makefile.PL \
30+ EXPATLIBPATH=${BOB_DEP_PATHS['libs::expat-dev']}/usr/lib \
31+ EXPATINCPATH=${BOB_DEP_PATHS['libs::expat-dev']}/usr/include \
32+ static
33+
34+ makeParallel
35+ makeSequential install DESTDIR=$(pwd)/../install
36+ popd # build
37+
38+ provideDeps : ['*-tgt']
39+ packageScript : autotoolsPackageTgt $1 "/usr/lib/***"
You can’t perform that action at this time.
0 commit comments