From: Roman I Khimov Date: Tue, 16 Mar 2010 12:15:23 +0000 (+0300) Subject: libdb-file-perl: add DB::File Perl module X-Git-Tag: Release-2010-05/1~302^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a582a84259202a21ba5e89e4e4ac8908e45caa06;p=openembedded.git libdb-file-perl: add DB::File Perl module Signed-off-by: Roman I Khimov --- diff --git a/recipes/perl/libdb-file-perl_1.820.bb b/recipes/perl/libdb-file-perl_1.820.bb new file mode 100644 index 0000000000..474838a653 --- /dev/null +++ b/recipes/perl/libdb-file-perl_1.820.bb @@ -0,0 +1,20 @@ +DESCRIPTION = "Perl5 access to Berkeley DB version 1.x" +SECTION = "libs" +LICENSE = "Artistic|GPL" +DEPENDS = "virtual/db" +RDEPENDS_${PN} += "perl-module-extutils-makemaker" +PR = "r0" + +BBCLASSEXTEND = "native" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/DB_File-${PV}.tar.gz;name=db-file-perl-${PV}" +SRC_URI[db-file-perl-1.820.md5sum] = "28979bee29d8075b0dffab02fe29df6e" +SRC_URI[db-file-perl-1.820.sha256sum] = "eae8d2d2144504118773f3e1787321d2c757e7c5abf0a60591c73495352ddf4a" + +S = "${WORKDIR}/DB_File-${PV}" + +do_configure_prepend() { + export DB_FILE_LIB=${STAGING_LIBDIR} +} + +inherit cpan