void-packages/srcpkgs/perl-DBD-SQLite/template
2016-11-15 18:17:33 +00:00

21 lines
721 B
Bash

# Template build file for 'perl-DBD-SQLite'.
pkgname=perl-DBD-SQLite
version=1.52
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=a6da099e9b953262afafea18335930bede1f195fdead45bd3f00e690b158354e
post_extract() {
# Unlock system sqlite support
sed -i 's/^if ( 0 )/if ( 1 )/' Makefile.PL
}