[ create a new paste ] login | about

Link: http://codepad.org/JxWQcLQJ    [ raw code | fork ]

Plain Text, pasted on Jul 17:
DESCRIPTION = "PERL database interface driver for the SQLite database."
SECTION = "libs"
LICENSE = "GPLv1"
LIC_FILES_CHKSUM = "file://LICENSE;md5=1726e2117494ba3e13e1c3d93f795360"
RDEPENDS_${PN} += "cpan-dbi"

# FIXME: I dont have recipes for these:
#         cpan-file-spec \
#         cpan-file-path \
#         cpan-scalar-util \
#         cpan-test \
#         cpan-test-more \
#         cpan-test-harness \
#"

PR = "r3"

SRC_URI = "http://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/DBD-SQLite-${PV}.tar.gz"
SRC_URI[md5sum] = "8ca0719852fcbcbbee470c705eeff24a"
SRC_URI[sha256sum] = "9361b5f01c720e33349dcf4dc531220c399fa9e9cdbec948aa8171860b9a9214"

S = "${WORKDIR}/DBD-SQLite-${PV}"

# The Makefile.PL does a require on DBI to verify version... hence the
# native dep. :/
DEPENDS = "cpan-dbi-native"

inherit cpan

do_configure_append() {
    # If the DBI dependency is unmet, the Makefile.PL exits with 0, without
    # generating a Makefile. Perhaps upstream would be willing to consider
    # changing that, but for now:
    [ -e Makefile ] || bbfatal "Makefile.PL didn't generate a Makefile"
}



Create a new paste based on this one


Comments: