void-packages/srcpkgs/perl-DBD-mysql/template

23 lines
731 B
Bash

# Template file for 'perl-DBD-mysql'
pkgname=perl-DBD-mysql
version=4.050
revision=2
wrksrc="DBD-mysql-${version}"
build_style=perl-module
hostmakedepends="perl perl-DBI perl-Devel-CheckLib"
makedepends="${hostmakedepends} libmysqlclient-devel libressl-devel zlib-devel"
depends="perl-DBI"
checkdepends="perl-Test-Deep"
short_desc="DBD::mysql - MySQL DBI driver"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="Artistic-1.0-Perl, GPL-1.0-or-later"
homepage="https://metacpan.org/release/DBD-mysql"
distfiles="${CPAN_SITE}/DBD/DBD-mysql-${version}.tar.gz"
checksum=4f48541ff15a0a7405f76adc10f81627c33996fbf56c95c26c094444c0928d78
if [ "$CROSS_BUILD" ]; then
pre_configure() {
sed -i "/^assert_lib/,+2d" Makefile.PL
}
fi