# Automatically generated by apkbuild-cpan, template 1 # Contributor: Francesco Colista # Maintainer: Francesco Colista setvar pkgname = 'perl-gtk2-ex-datasheet-dbi' setvar _pkgreal = 'Gtk2-Ex-Datasheet-DBI' setvar pkgver = '2.1' setvar pkgrel = '0' setvar pkgdesc = ""unknown"" setvar url = ""http://search.cpan.org/dist/Gtk2-Ex-Datasheet-DBI/"" setvar arch = ""noarch"" setvar license = ""GPL PerlArtistic"" setvar cpandepends = ""perl-gtk2 perl-dbi perl-gtk2-ex-dialogs perl-pango"" setvar cpanmakedepends = "" "" setvar depends = "$cpandepends" setvar makedepends = ""perl-dev $cpanmakedepends"" setvar subpackages = ""$pkgname-doc"" setvar source = ""http://search.cpan.org/CPAN/authors/id/D/DK/DKASAK/$_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 } proc package { cd $_builddir make DESTDIR="$pkgdir" install || return 1 find $pkgdir '(' -name perllocal.pod -o -name .packlist ')' -delete } setvar md5sums = ""728708c2924a9ff08a21def204241fe1 Gtk2-Ex-Datasheet-DBI-2.1.tar.gz""