blob: a1cf51e5f54a9c13218cb0da8cc4d5c4dbd88a17 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-mailtools
_pkgreal=MailTools
pkgver=2.16
pkgrel=0
pkgdesc="Various e-mail related modules"
url="http://search.cpan.org/dist/MailTools/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-timedate"
cpanmakedepends=" "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/$_pkgreal-$pkgver.tar.gz"
_builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$_builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
cd "$_builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
make && make test
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="8ee459fafedb9d222c40598fe374dcb7 MailTools-2.16.tar.gz"
sha256sums="56a56ed11e9dc44995dd70159c3a67fdaf1c78488cfb1a7045d32e81b8b23814 MailTools-2.16.tar.gz"
sha512sums="996c13da572ca04f0e3238ab6d977f9ef4efd46e652652022a56d595ec23dabc451c2003eb5359d0b4a80b1b37666452e3a0ca10542e95465614d41348d4c7ba MailTools-2.16.tar.gz"
|