# Automatically generated by apkbuild-cpan, template 1 # Contributor: Francesco Colista # Maintainer: Francesco Colista setvar pkgname = 'perl-lisp' setvar _pkgreal = 'perl-lisp' setvar pkgver = '0.06' setvar pkgrel = '0' setvar pkgdesc = ""unknown"" setvar url = ""http://search.cpan.org/dist/perl-lisp/"" setvar arch = ""noarch"" 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 } setvar md5sums = ""9527dbc83c9b028df49e02a32fe1e368 perl-lisp-0.06.tar.gz""