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

19 lines
677 B
Bash

# Template file for 'perl-Term-ReadLine-Gnu'
pkgname=perl-Term-ReadLine-Gnu
version=1.34
revision=3
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>"
homepage="http://search.cpan.org/dist/Term-ReadLine-Gnu/"
license="Artistic, GPL-1"
distfiles="${CPAN_SITE}/Term/${pkgname/perl-/}-${version}.tar.gz"
checksum=a965fd0601bea84cb65e0c5e6a1eb3469fe2d99772be235faccbc49c57edf6cd
post_extract() {
sed -i '/if.*guess_malloc_names/s/.*/if(my $extra_defs=""){/' Makefile.PL
}