perl: add check stage, adopt.
This commit is contained in:
parent
1d97f0235c
commit
9750dc2d04
1 changed files with 7 additions and 1 deletions
|
@ -7,8 +7,9 @@ build_style=gnu-configure
|
|||
hostmakedepends="less"
|
||||
makedepends="zlib-devel bzip2-devel gdbm-devel db-devel"
|
||||
depends="less"
|
||||
checkdepends="iana-etc perl-AnyEvent perl-Test-Pod procps-ng"
|
||||
short_desc="Practical Extraction and Report Language"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||
license="Artistic-1.0-perl, GPL-1.0-or-later"
|
||||
homepage="https://www.perl.org"
|
||||
distfiles="https://www.cpan.org/src/5.0/perl-${version}.tar.gz
|
||||
|
@ -194,6 +195,11 @@ do_configure() {
|
|||
}
|
||||
}
|
||||
|
||||
do_check() {
|
||||
export LD="$CC"
|
||||
TEST_JOBS=${XBPS_MAKEJOBS} make test
|
||||
}
|
||||
|
||||
post_install() {
|
||||
find ${DESTDIR}/usr/share -type f -exec chmod 644 {} \;
|
||||
find ${DESTDIR}/usr/lib -type f -exec chmod 644 {} \;
|
||||
|
|
Loading…
Add table
Reference in a new issue