diff options
Diffstat (limited to 'meta-perl/recipes-perl/libdb/libdbd-sqlite-perl_1.50.bb')
-rw-r--r-- | meta-perl/recipes-perl/libdb/libdbd-sqlite-perl_1.50.bb | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/meta-perl/recipes-perl/libdb/libdbd-sqlite-perl_1.50.bb b/meta-perl/recipes-perl/libdb/libdbd-sqlite-perl_1.50.bb new file mode 100644 index 000000000..68bfd66fb --- /dev/null +++ b/meta-perl/recipes-perl/libdb/libdbd-sqlite-perl_1.50.bb | |||
@@ -0,0 +1,39 @@ | |||
1 | SUMMARY = "A Perl DBI driver for SQLite" | ||
2 | DESCRIPTION = "DBD::SQLite is a Perl DBI driver for SQLite, that includes the entire \ | ||
3 | thing in the distribution. So in order to get a fast transaction capable \ | ||
4 | RDBMS working for your perl project you simply have to install this \ | ||
5 | module, and nothing else. \ | ||
6 | " | ||
7 | HOMEPAGE = "http://search.cpan.org/~ishigaki/DBD-SQLite/" | ||
8 | |||
9 | SECTION = "libs" | ||
10 | LICENSE = "Artistic-1.0 | GPL-1.0+" | ||
11 | DEPENDS += "libdbi-perl-native" | ||
12 | RDEPENDS_${PN} += "libdbi-perl \ | ||
13 | sqlite3 \ | ||
14 | perl-module-constant \ | ||
15 | perl-module-locale \ | ||
16 | perl-module-tie-hash \ | ||
17 | " | ||
18 | |||
19 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1726e2117494ba3e13e1c3d93f795360" | ||
20 | |||
21 | SRC_URI = "http://search.cpan.org/CPAN/authors/id/I/IS/ISHIGAKI/DBD-SQLite-${PV}.tar.gz \ | ||
22 | file://sqlite-perl-test.pl \ | ||
23 | " | ||
24 | |||
25 | SRC_URI[md5sum] = "d56eebfb5f2a14be9413b025e7dca9fe" | ||
26 | SRC_URI[sha256sum] = "3ac513ab73944fd7d4b672e1fe885dc522b6369d38f46a68e67e0045bf159ce1" | ||
27 | |||
28 | S = "${WORKDIR}/DBD-SQLite-${PV}" | ||
29 | |||
30 | inherit cpan | ||
31 | |||
32 | BBCLASSEXTEND = "native" | ||
33 | |||
34 | do_install_append() { | ||
35 | if [ ${PERL_DBM_TEST} = "1" ]; then | ||
36 | install -m 755 -D ${WORKDIR}/sqlite-perl-test.pl ${D}/${bindir}/sqlite-perl-test.pl | ||
37 | fi | ||
38 | } | ||
39 | |||