22 lines
735 B
Bash
22 lines
735 B
Bash
# Template file for 'perl-DBD-SQLite'
|
|
pkgname=perl-DBD-SQLite
|
|
version=1.60
|
|
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>"
|
|
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=280b2e30e2d9fcd284febda656b80530c70b38cfcbf3132c94257f1e1d303fc3
|
|
|
|
post_extract() {
|
|
# Unlock system sqlite support
|
|
sed -i 's/^if ( 0 )/if ( 1 )/' Makefile.PL
|
|
}
|