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

22 lines
721 B
Bash

# Template build file for 'perl-DBD-SQLite'.
pkgname=perl-DBD-SQLite
version=1.54
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.eu>"
homepage="http://search.cpan.org/dist/DBD-SQLite"
license="Artistic, GPL-1"
distfiles="${CPAN_SITE}/DBD/DBD-SQLite-$version.tar.gz"
checksum=3929a6dbd8d71630f0cb57f85dcef9588cd7ac4c9fa12db79df77b9d3a4d7269
post_extract() {
# Unlock system sqlite support
sed -i 's/^if ( 0 )/if ( 1 )/' Makefile.PL
}