aboutsummaryrefslogtreecommitdiff
path: root/recipes/perl/libsys-hostname-long-perl_1.4.bb
blob: 9d9372d1cf04c1f6c7552c3a8a86c9efa3884209 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
DESCRIPTION = "Sys::Hostname::Long - Try every conceivable way to get full hostname"
SECTION = "libs"
LICENSE = "Artistic|GPLv1+"
BBCLASSEXTEND = "native"

PR = "r1"

SRC_URI = "http://search.cpan.org/CPAN/authors/id/S/SC/SCOTT/Sys-Hostname-Long-${PV}.tar.gz;name=sys-hostname-long-perl-${PV}"
SRC_URI[sys-hostname-long-perl-1.4.md5sum] = "a5b3c23754cbcff10e283d16c42ec3d3"
SRC_URI[sys-hostname-long-perl-1.4.sha256sum] = "9db6c8cd3ca0ba8dbf19969ed0a936cecb7f555c1cc8077b08cf8bf78b10c143"

S = "${WORKDIR}/Sys-Hostname-Long-${PV}"

inherit cpan

do_configure_prepend () {
	# Busybox compatibility
	sed -ri "s,hostname\ --fqdn,hostname -f," lib/Sys/Hostname/Long.pm
}

PACKAGE_ARCH = "all"