mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-12 01:01:36 +02:00
41 lines
1.3 KiB
Plaintext
41 lines
1.3 KiB
Plaintext
# Automatically generated by apkbuild-cpan, template 3
|
|
# Contributor: Jeff Bilyk <jbilyk at gmail>
|
|
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
|
|
pkgname=perl-dbd-sqlite
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=DBD-SQLite
|
|
pkgver=1.74
|
|
pkgrel=0
|
|
pkgdesc="Self Contained SQLite RDBMS in a DBI Driver"
|
|
url="https://metacpan.org/release/DBD-SQLite/"
|
|
arch="all"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="perl perl-dbi"
|
|
makedepends="perl-dev sqlite-dev"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/DBD-SQLite-$pkgver.tar.gz
|
|
perl-DBD-SQLite-bz543982.patch
|
|
"
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
build() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
|
|
make
|
|
}
|
|
|
|
check() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
}
|
|
|
|
sha512sums="
|
|
46bb26ffac07ca6d25d44101bd59fe7ebb397d159154fe10528e4ca4ee270e62159a40be0325099237ce28fb6ce11b5dc1da5396c3e9a3e0e03062a65c16cbab DBD-SQLite-1.74.tar.gz
|
|
00961932f9f89d9b46e6134150c2628aadd4cfa7159cb1604de023fedc919087fbf982b72fd51610e1ca390234cd939e74430b270131d0b30cedb97ba6203b49 perl-DBD-SQLite-bz543982.patch
|
|
"
|