diff options
author | Roman I Khimov <khimov@altell.ru> | 2010-03-17 13:49:52 +0300 |
---|---|---|
committer | Roman I Khimov <khimov@altell.ru> | 2010-03-24 00:46:05 +0300 |
commit | 0ba9b9434e4da1b10e17fa6e5581d06b958edde3 (patch) | |
tree | a9b1c144026f19ebc4d9bfe5d2c822ffa560b593 /recipes/perl/libsocket6-perl_0.23.bb | |
parent | 40e6e9f6583b84a4df201b0a17c0dfe6ffa57825 (diff) |
libsocket6-perl: add Socket6 Perl module
Signed-off-by: Roman I Khimov <khimov@altell.ru>
Diffstat (limited to 'recipes/perl/libsocket6-perl_0.23.bb')
-rw-r--r-- | recipes/perl/libsocket6-perl_0.23.bb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes/perl/libsocket6-perl_0.23.bb b/recipes/perl/libsocket6-perl_0.23.bb new file mode 100644 index 0000000000..82f980d029 --- /dev/null +++ b/recipes/perl/libsocket6-perl_0.23.bb @@ -0,0 +1,24 @@ +DESCRIPTION = "Perl extensions for IPv6" +SECTION = "libs" +LICENSE = "BSD" +PR = "r0" + +BBCLASSEXTEND = "native" + +CFLAGS += "-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE" +BUILD_CFLAGS += "-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/U/UM/UMEMOTO/Socket6-${PV}.tar.gz;name=socket6-perl-${PV}" +SRC_URI[socket6-perl-0.23.md5sum] = "2c02adb13c449d48d232bb704ddbd492" +SRC_URI[socket6-perl-0.23.sha256sum] = "eda753f0197e8c3c8d4ab20a634561ce84011fa51aa5ff40d4dbcb326ace0833" + +S = "${WORKDIR}/Socket6-${PV}" + +do_configure_prepend () { + oenote Executing autoreconf --verbose --install --force + mkdir -p m4 + autoreconf -Wcross --verbose --install --force || oefatal "autoreconf execution failed." + sed -i 's:\./configure\(.[^-]\):./configure --build=${BUILD_SYS} --host=${HOST_SYS} --target=${TARGET_SYS} --prefix=${prefix} --exec_prefix=${exec_prefix} --bindir=${bindir} --sbindir=${sbindir} --libexecdir=${libexecdir} --datadir=${datadir} --sysconfdir=${sysconfdir} --sharedstatedir=${sharedstatedir} --localstatedir=${localstatedir} --libdir=${libdir} --includedir=${includedir} --oldincludedir=${oldincludedir} --infodir=${infodir} --mandir=${mandir}\1:' Makefile.PL +} + +inherit cpan |