# Automatically generated by apkbuild-cpan, template 1 # Contributor: Francesco Colista # Maintainer: Francesco Colista setvar pkgname = 'perl-data-dumper' setvar _pkgreal = 'Data-Dumper' setvar pkgver = '2.161' setvar pkgrel = '1' setvar pkgdesc = ""unknown"" setvar url = ""http://search.cpan.org/dist/Data-Dumper/"" setvar arch = ""all"" setvar license = ""GPL PerlArtistic"" setvar cpandepends = """" setvar cpanmakedepends = "" "" setvar depends = "$cpandepends" setvar makedepends = ""perl-dev $cpanmakedepends"" setvar subpackages = """" setvar source = ""http://search.cpan.org/CPAN/authors/id/S/SM/SMUELLER/$_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 = ""0c18654f06366c494d5c72801eab9393 Data-Dumper-2.161.tar.gz"" setvar sha256sums = ""3aa4ac1b042b3880438165fb2b2139d377564a8e9928ffe689ede5304ee90558 Data-Dumper-2.161.tar.gz"" setvar sha512sums = ""9da8ee6912dcc5f63ca6659b323bbafd7db335fb173e6d9dd14745fa93b596c14bf278e4183aef90ca628e6b473da17297b0b3ac49ebec049dd18d1a5e053201 Data-Dumper-2.161.tar.gz""