diff options
author | Roman I Khimov <khimov@altell.ru> | 2010-03-17 17:26:57 +0300 |
---|---|---|
committer | Roman I Khimov <khimov@altell.ru> | 2010-03-24 00:46:40 +0300 |
commit | dbed32ebd85edd436780baf8d3398088513404dc (patch) | |
tree | adfc7b081454e998fa8cad3402144f28fad8a89c /recipes/perl | |
parent | 9327029bfe6619e01175c7bc2004c558e03c56c5 (diff) |
libsys-hostname-long: Add Sys::Hostname::Long Perl module
Signed-off-by: Roman I Khimov <khimov@altell.ru>
Diffstat (limited to 'recipes/perl')
-rw-r--r-- | recipes/perl/libsys-hostname-long-perl_1.4.bb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/recipes/perl/libsys-hostname-long-perl_1.4.bb b/recipes/perl/libsys-hostname-long-perl_1.4.bb new file mode 100644 index 0000000000..af375c1bba --- /dev/null +++ b/recipes/perl/libsys-hostname-long-perl_1.4.bb @@ -0,0 +1,21 @@ +DESCRIPTION = "Sys::Hostname::Long - Try every conceivable way to get full hostname" +SECTION = "libs" +LICENSE = "Artistic|GPL" +BBCLASSEXTEND = "native" + +PR = "r0" + +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" |