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

21 lines
742 B
Bash

# Template build file for 'perl-DBD-SQLite'.
pkgname=perl-DBD-SQLite
version=1.58
revision=3
wrksrc="DBD-SQLite-${version}"
build_style=perl-module
configure_args="SQLITE_LOCATION=${XBPS_CROSS_BASE}/usr"
hostmakedepends="perl perl-DBI"
makedepends="${hostmakedepends} sqlite-devel"
depends="${hostmakedepends}"
short_desc="DBD::SQLite - Self-contained RDBMS in a DBI driver"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://metacpan.org/release/DBD-SQLite"
license="Artistic-1.0-Perl, GPL-1.0-or-later"
distfiles="${CPAN_SITE}/DBD/DBD-SQLite-$version.tar.gz"
checksum=7120dd99d0338dea2802fda8bfe3fbf10077d5af559f6c67ae35e9270d1a1d3b
post_extract() {
# Unlock system sqlite support
sed -i 's/^if ( 0 )/if ( 1 )/' Makefile.PL
}