void-packages/srcpkgs/perl-DBD-SQLite/template
Christian Neukirchen 681d522a60 perl-DBD-SQLite: update to 1.50.
Use system SQLite.
2016-02-13 16:53:33 +01:00

21 lines
721 B
Bash

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