diff options
author | davidovski <david@davidovski.xyz> | 2022-01-16 15:02:47 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-01-16 15:02:47 +0000 |
commit | 003727289cc45e29eff0c0c48ad0f9660f96644f (patch) | |
tree | 0fd7f0ac830dee29984262980b8c144e26aa09ba /repo/system/perl.xibuild | |
parent | d2d97f84d5c037d7a6b8db6c497a5987030b7335 (diff) |
separated patch, build, check and package stages
Diffstat (limited to 'repo/system/perl.xibuild')
-rw-r--r-- | repo/system/perl.xibuild | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/repo/system/perl.xibuild b/repo/system/perl.xibuild index 8833465..c2f2766 100644 --- a/repo/system/perl.xibuild +++ b/repo/system/perl.xibuild @@ -7,13 +7,19 @@ SOURCE=https://www.cpan.org/src/5.0/perl-$PKG_VER.tar.gz DESC="The Practical Extraction and Report Language" build () { - #export BUILD_ZLIB=False - #export BUILD_BZIP2=0 + export BUILD_ZLIB=False + export BUILD_BZIP2=0 sh Configure -des -Dprefix=/usr -Dlibs=-lm -Uloclibpth -Ulocincpth make +} + +check () { make test +} + +package () { make DESTDIR=$PKG_DEST install unset BUILD_ZLIB BUILD_BZIP2 } |