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

21 lines
709 B
Bash

# Template file for 'perl-DBD-SQLite'
pkgname=perl-DBD-SQLite
version=1.66
revision=4
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=89e75dff9f66c273e0e459d51f151f88960eb7d82e2821e6902f18688ba592fe
post_extract() {
# Unlock system sqlite support
vsed -e 's/^if ( 0 )/if ( 1 )/' -i Makefile.PL
}