void-packages/srcpkgs/perl-Term-ReadLine-Gnu/template

22 lines
732 B
Bash

# Template file for 'perl-Term-ReadLine-Gnu'
pkgname=perl-Term-ReadLine-Gnu
version=1.42
revision=2
wrksrc="${pkgname/perl-/}-${version}"
build_style=perl-module
hostmakedepends="perl ncurses-devel readline-devel"
makedepends="$hostmakedepends"
short_desc="Perl extension for the GNU readline/history library"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="Artistic-1.0-Perl, GPL-1.0-or-later"
homepage="https://metacpan.org/release/Term-ReadLine-Gnu"
distfiles="${CPAN_SITE}/Term/${pkgname/perl-/}-${version}.tar.gz"
checksum=3c5f1281da2666777af0f34de0289564e6faa823aea54f3945c74c98e95a5e73
post_extract() {
vsed -i '/if.*guess_malloc_names/s/.*/if(my $extra_defs=""){/' Makefile.PL
}
pre_check() {
export TERM=linux
}