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.56
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=c5f831a67a94f9bb2fb3c44051f309fc7994b2725d1896c018ad5d4cd865e991
post_extract() {
# Unlock system sqlite support
sed -i 's/^if ( 0 )/if ( 1 )/' Makefile.PL
}