diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-26 12:19:57 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-26 12:25:30 +0000 |
commit | 585c670c4d7648dce118fd30bfd639effdacbe9b (patch) | |
tree | a4328b8eb3b846874b2f7e71e6065acdf717d0aa /community/perl-ima-dbi | |
parent | ace7c8cdbdb9b88abe41ffc7de363c26616372ea (diff) | |
download | aports-585c670c4d7648dce118fd30bfd639effdacbe9b.tar.bz2 aports-585c670c4d7648dce118fd30bfd639effdacbe9b.tar.xz |
community/perl-ima-dbi: moved from unmaintained
Diffstat (limited to 'community/perl-ima-dbi')
-rw-r--r-- | community/perl-ima-dbi/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/community/perl-ima-dbi/APKBUILD b/community/perl-ima-dbi/APKBUILD new file mode 100644 index 0000000000..637ca16722 --- /dev/null +++ b/community/perl-ima-dbi/APKBUILD @@ -0,0 +1,37 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=perl-ima-dbi +_pkgreal=Ima-DBI +pkgver=0.35 +pkgrel=1 +pkgdesc="unknown" +url="http://search.cpan.org/dist/Ima-DBI/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="perl-dbi perl-class-data-inheritable perl-dbix-contextualfetch" +cpanmakedepends="perl-test-pod perl-test-pod-coverage" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/P/PE/PERRIN/$_pkgreal-$pkgver.tar.gz" + +_builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$_builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor +} + +build() { + cd "$_builddir" + make && make test +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="f3c5c0b1fe509556ca35f08aae91b3f5 Ima-DBI-0.35.tar.gz" |