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

22 lines
740 B
Bash

# Template file for 'perl-DBD-SQLite'
pkgname=perl-DBD-SQLite
version=1.62
revision=1
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.org>"
license="Artistic-1.0-Perl, GPL-1.0-or-later"
homepage="https://metacpan.org/release/DBD-SQLite"
distfiles="${CPAN_SITE}/DBD/DBD-SQLite-${version}.tar.gz"
checksum=bd82ef322a9e5469a7a62d845c32fad1188b76ccb49a88520cec768343cce85c
post_extract() {
# Unlock system sqlite support
vsed -e 's/^if ( 0 )/if ( 1 )/' -i Makefile.PL
}