# Automatically generated by apkbuild-cpan, template 1 # Contributor: Valery Kartel <valery.kartel@gmail.com> # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> setvar pkgname = 'perl-digest-md5' setvar _pkgreal = 'Digest-MD5' setvar pkgver = '2.55' setvar pkgrel = '2' setvar pkgdesc = ""Perl interface to the MD-5 algorithm"" setvar url = ""http://search.cpan.org/dist/Digest-MD5/"" setvar arch = ""all"" setvar license = ""GPL PerlArtistic"" setvar cpandepends = """" setvar cpanmakedepends = "" "" setvar depends = "$cpandepends" setvar makedepends = ""perl-dev $cpanmakedepends"" setvar subpackages = ""$pkgname-doc"" setvar source = ""http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$_pkgreal-$pkgver.tar.gz"" setvar builddir = ""$srcdir/$_pkgreal-$pkgver"" proc prepare { cd $builddir export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags})' PERL_MM_USE_DEFAULT=1' perl Makefile.PL INSTALLDIRS=vendor } proc build { cd $builddir export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}) make && make test } proc package { cd $builddir make DESTDIR="$pkgdir" install || return 1 find $pkgdir '(' -name perllocal.pod -o -name .packlist ')' -delete } proc doc { default_doc setvar replaces = ""perl-doc"" } setvar md5sums = ""601519b826ca14c233f13a4578b967ef Digest-MD5-2.55.tar.gz"" setvar sha256sums = ""03b198a2d14425d951e5e50a885d3818c3162c8fe4c21e18d7798a9a179d0e3c Digest-MD5-2.55.tar.gz"" setvar sha512sums = ""e921fe802566047479d4f33e65cdda0c316e0de06b316845bb48feaefdf5d0c602e330d42335f2cbe34d5b076aa0da2ed6daa7f998e9fda09cf9d66fb3c66811 Digest-MD5-2.55.tar.gz""