From 5e700bcfa806c28ba5940fe4c3014cf8433d7303 Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Tue, 1 Feb 2011 23:50:08 +0000 Subject: testing/perl-mime-lite : low-calorie MIME generator --- testing/perl-mime-lite/APKBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 testing/perl-mime-lite/APKBUILD (limited to 'testing') diff --git a/testing/perl-mime-lite/APKBUILD b/testing/perl-mime-lite/APKBUILD new file mode 100644 index 0000000000..832d5f25f5 --- /dev/null +++ b/testing/perl-mime-lite/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Francesco Colista +# Maintainer: Francesco Colista +pkgname=perl-mime-lite +_realname=MIME-Lite +pkgver=3.027 +pkgrel=0 +pkgdesc="low-calorie MIME generator" +url="http://search.cpan.org/~rjbs/MIME-Lite-3.027/" +arch="noarch" +license="GPL PerlArtistic" +depends="perl" +makedepends="perl-dev" +install= +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/$_realname-$pkgver.tar.gz" + +_builddir="$srcdir/$_realname-$pkgver" + +build() { + cd $_builddir + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 + make || return 1 +} + +package() { + cd $_builddir + make DESTDIR="$pkgdir" install + # creates file collision among perl modules + find "$pkgdir" -name perllocal.pod -delete +} + +md5sums="e857febd66c45f2a5919b031fbe70aa7 MIME-Lite-3.027.tar.gz" -- cgit v1.2.3