diff options
author | Timo Teräs <timo.teras@iki.fi> | 2011-06-02 11:45:31 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2011-06-02 11:48:27 +0300 |
commit | 0f0c8e88b8af434ee9c2713a0547e5edad850492 (patch) | |
tree | 551bde11e87f5695abae4ee976efcc3257594a9b /testing | |
parent | 40c3b3cace4776cf4f9b0e12dff5ff2b62217e22 (diff) | |
download | aports-0f0c8e88b8af434ee9c2713a0547e5edad850492.tar.bz2 aports-0f0c8e88b8af434ee9c2713a0547e5edad850492.tar.xz |
testing/perl-html-format: new apkbuild-cpan generated aport
Base class for HTML formatters
http://search.cpan.org/dist/HTML-Format/
Diffstat (limited to 'testing')
-rw-r--r-- | testing/perl-html-format/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/perl-html-format/APKBUILD b/testing/perl-html-format/APKBUILD new file mode 100644 index 0000000000..eb4c7740ad --- /dev/null +++ b/testing/perl-html-format/APKBUILD @@ -0,0 +1,37 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Timo Teräs <timo.teras@iki.fi> +# Maintainer: Timo Teräs <timo.teras@iki.fi> +pkgname=perl-html-format +_pkgreal=HTML-Format +pkgver=2.07 +pkgrel=0 +pkgdesc="Base class for HTML formatters" +url="http://search.cpan.org/dist/HTML-Format/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="perl-html-tree perl-font-afm" +cpanmakedepends="perl-file-slurp" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/N/NI/NIGELM/$_pkgreal-$pkgver.tar.gz" + +_builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$_builddir" + perl Build.PL installdirs=vendor || return 1 +} + +build() { + cd "$_builddir" + ./Build && ./Build test +} + +package() { + cd "$_builddir" + ./Build install destdir="$pkgdir" || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="07b43da2e23ad4f6eeacee8219c65fa4 HTML-Format-2.07.tar.gz" |