# Automatically generated by apkbuild-cpan, template 1 # Maintainer: Francesco Colista <fcolista@alpinelinux.org> setvar pkgname = 'perl-data-denter' setvar _pkgreal = 'Data-Denter' setvar pkgver = '0.15' setvar pkgrel = '0' setvar pkgdesc = ""Perl module for Data-Denter"" setvar url = ""http://search.cpan.org/dist/Data-Denter/"" setvar arch = ""noarch"" setvar license = ""GPL PerlArtistic"" setvar cpandepends = """" setvar cpanmakedepends = ""perl-yaml"" setvar depends = "$cpandepends" setvar makedepends = ""perl-dev perl-doc $cpanmakedepends"" setvar subpackages = ""$pkgname-doc"" setvar source = ""http://search.cpan.org/CPAN/authors/id/I/IN/INGY/$_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 } setvar md5sums = ""819e5c05fb61e90f4c1311286b080405 Data-Denter-0.15.tar.gz"" setvar sha256sums = ""3ab4ff9bd49497bfc711dccf8c990aab10470a7bba65a9877632b14d8f5fdb55 Data-Denter-0.15.tar.gz"" setvar sha512sums = ""37512f0a7a9f749ceb0d4db210ad25ec812b0ff4a2d955312200251ac7c74fbf1f50930d8475865bc2215e838a00fde73b281ff45569d63931c10d3dc6df6505 Data-Denter-0.15.tar.gz""