# Automatically generated by apkbuild-cpan, template 2 # Contributor: Nick Andrew # Maintainer: Nick Andrew setvar pkgname = 'perl-anyevent-influxdb' setvar _pkgreal = 'AnyEvent-InfluxDB' setvar pkgver = '1.0.2.0' setvar pkgrel = '0' setvar pkgdesc = ""An asynchronous library for InfluxDB time-series database"" setvar url = ""http://search.cpan.org/dist/AnyEvent-InfluxDB/"" setvar arch = ""noarch"" setvar license = ""GPL PerlArtistic"" setvar cpandepends = ""perl-anyevent-http perl-anyevent perl-list-moreutils perl-moo perl-json perl-uri perl-uri-encode-xs"" setvar cpanmakedepends = """" setvar cpancheckdepends = """" setvar depends = "$cpandepends" setvar makedepends = ""perl-dev $cpanmakedepends"" setvar checkdepends = "$cpancheckdepends" setvar subpackages = ""$pkgname-doc"" setvar source = ""http://search.cpan.org/CPAN/authors/id/A/AJ/AJGB/$_pkgreal-$pkgver.tar.gz"" setvar builddir = ""$srcdir/$_pkgreal-$pkgver"" proc prepare { default_prepare || return 1 cd $builddir export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') perl Build.PL installdirs=vendor || return 1 } proc build { cd $builddir export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') ./Build && ./Build test } proc package { cd $builddir ./Build install destdir="$pkgdir" || return 1 find $pkgdir '(' -name perllocal.pod -o -name .packlist ')' -delete } setvar sha512sums = ""1b88aa659fae9f7089547f9765048368811af26a0d090ead61a862dd00ebe175e9a2ea458dae39590268b0bb77913b630fb13e07fe3bccaff002bb5da6bc2c42 AnyEvent-InfluxDB-1.0.2.0.tar.gz""