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

21 lines
740 B
Bash

# Template file for 'perl-DBD-SQLite'
pkgname=perl-DBD-SQLite
version=1.64
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="Orphaned <orphan@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=f4ae8f7b50842305566aadd90f7bfd12a9e32b6c603a9b1c1529e73eb82aff01
post_extract() {
# Unlock system sqlite support
vsed -e 's/^if ( 0 )/if ( 1 )/' -i Makefile.PL
}