diff options
Diffstat (limited to 'unmaintained/perl-dbm-deep')
-rw-r--r-- | unmaintained/perl-dbm-deep/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/unmaintained/perl-dbm-deep/APKBUILD b/unmaintained/perl-dbm-deep/APKBUILD new file mode 100644 index 0000000000..9034ef1e23 --- /dev/null +++ b/unmaintained/perl-dbm-deep/APKBUILD @@ -0,0 +1,40 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: +# Maintainer: +pkgname=perl-dbm-deep +_pkgreal=DBM-Deep +pkgver=2.0012 +pkgrel=0 +pkgdesc="Perl module for DBM-Deep" +url="http://search.cpan.org/dist/DBM-Deep/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="" +cpanmakedepends="perl-module-build perl-test-deep perl-test-exception perl-test-warn" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/R/RK/RKINYON/$_pkgreal-$pkgver.tar.gz" + +_builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$_builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 +} + +build() { + cd "$_builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + make +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="da911dada2c978ea6bd4d1bac4b4ba46 DBM-Deep-2.0012.tar.gz" +sha256sums="737f06debe60aa9642ba072335f8d8bdf1afd78bde5c4fedfb0453f70a94beed DBM-Deep-2.0012.tar.gz" +sha512sums="6a57a3c819493b9b1f3276aa72e8508c6080e9ac07a3543cf4948de98a9f7946b09489d2f00aa0b2f2511858d00bdae0bc6922464d6bced1703749ef7beb3cfd DBM-Deep-2.0012.tar.gz" |