summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-26 06:21:42 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-26 17:31:08 -0500
commitb3bdbf4fc89df0a7553a553af897d92c860118fd (patch)
treeb2638b973bb306d1d162e63321345387f7f8f870 /system
parent09976e29f40e7eafbe55f9a70732b2e961d6ac02 (diff)
downloadpackages-b3bdbf4fc89df0a7553a553af897d92c860118fd.tar.gz
packages-b3bdbf4fc89df0a7553a553af897d92c860118fd.tar.bz2
packages-b3bdbf4fc89df0a7553a553af897d92c860118fd.tar.xz
packages-b3bdbf4fc89df0a7553a553af897d92c860118fd.zip
system/perl-dbi: pull in for perl-dbd-sqlite
Diffstat (limited to 'system')
-rw-r--r--system/perl-dbi/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/system/perl-dbi/APKBUILD b/system/perl-dbi/APKBUILD
new file mode 100644
index 000000000..c8d0efda4
--- /dev/null
+++ b/system/perl-dbi/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Jeff Bilyk <jbilyk at gmail>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-dbi
+_realpkgname=DBI
+pkgver=1.641
+pkgrel=0
+pkgdesc="Database independent interface for Perl"
+url="http://search.cpan.org/dist/${_realpkgname}"
+arch="all"
+license="GPL-2.0-only OR Artistic-1.0-Perl"
+depends=
+makedepends="perl perl-dev"
+subpackages="$pkgname-doc"
+source="http://www.cpan.org/authors/id/T/TI/TIMB/${_realpkgname}-$pkgver.tar.gz"
+builddir="$srcdir"/${_realpkgname}-$pkgver
+
+build() {
+ cd "$builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check () {
+ cd "$builddir"
+ make test
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ # creates file collision among perl modules
+ find "$pkgdir" -name perllocal.pod -delete
+}
+
+sha512sums="093eb28526e8290c0599437cd624b3e670cfff0ec149c1e8ad942f9f7facdafd2a8225bbf4efdb0d40ecf5a6088093ff9faec826cd4ec88bd0abd6125812137a DBI-1.641.tar.gz"