aboutsummaryrefslogtreecommitdiff
path: root/recipes/perl/libmail-spf-perl_2.007.bb
blob: 7b94a69fface3134e49b0e57598d0930bd830967 (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
42
43
DESCRIPTION = "Mail::SPF - An object-oriented implementation of Sender Policy Framework"
SECTION = "libs"
LICENSE = "BSD"
DEPENDS = " \
	liberror-perl-native \
	libnet-dns-perl-native \
	libnet-dns-resolver-programmable-perl-native \
	libnetaddr-ip-perl-native \
	liburi-perl-native \
	"
RDEPENDS_${PN} += " \
	liberror-perl \
	libnet-dns-perl \
	libnet-dns-resolver-programmable-perl \
	libnetaddr-ip-perl \
	liburi-perl \
	perl-module-module-build \
	perl-module-test-more \
	perl-module-version \
	perl-module-exporter-heavy \
	perl-module-utf8 \
	perl-module-utf8-heavy \
	"
BBCLASSEXTEND = "native"

PR = "r3"

SRC_URI = " \
	http://search.cpan.org/CPAN/authors/id/J/JM/JMEHNLE/mail-spf/Mail-SPF-v${PV}.tar.gz;name=mail-spf-perl-${PV} \
	file://fix-sbin-native-install.patch \
	"
SRC_URI[mail-spf-perl-2.007.md5sum] = "67dccdc91e3264679a0e17d493d3cc30"
SRC_URI[mail-spf-perl-2.007.sha256sum] = "d8886e6a5b300946434284a6527bbb68ed98d27d3582c8e475e338facb96c50b"

S = "${WORKDIR}/Mail-SPF-v${PV}"

inherit cpan_build

do_install_append() {
	sed -ri "s,${D},," ${D}/${bindir}/spfquery
}

PACKAGE_ARCH = "all"