blob: 1f73517ce023a806a438497a407656242ae524ba (
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 <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=perl-email-simple
_pkgreal=Email-Simple
pkgver=2.210
pkgrel=0
pkgdesc="unknown"
url="http://search.cpan.org/dist/Email-Simple/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-email-date-format"
cpanmakedepends=" "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/$_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="062fbe3dd8bc6ea7cdebfd7eea7728cc Email-Simple-2.210.tar.gz"
sha256sums="c8633fa462538967c036e3077617de9e5e8f6acc68d25546ba1d5bb1e12bd319 Email-Simple-2.210.tar.gz"
sha512sums="ca35f81f5445f39b23a4cb45b320f645262b7d061d883e915d75b06c96023b0e5910e0df28a0d648575ec9d15d63c3a4c901efcdc54f51d56641f2291c82156a Email-Simple-2.210.tar.gz"
|