summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJake Morrison <jake@cogini.com>2007-06-11 16:35:14 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2007-06-11 16:35:14 +0000
commitfa8a13f39e612e23159f136983e18938ae92d360 (patch)
treebc914830ed36e2c69c07dea3ab877eff95d762a5
parent95a9f53c62fd89cf46c02682f71b1e58df894022 (diff)
python-pysqlite2: improve packaging - close #2456
-rw-r--r--packages/python/python-pysqlite2_2.2.2.bb13
1 files changed, 9 insertions, 4 deletions
diff --git a/packages/python/python-pysqlite2_2.2.2.bb b/packages/python/python-pysqlite2_2.2.2.bb
index 37be3bc0ea..89d4030f5c 100644
--- a/packages/python/python-pysqlite2_2.2.2.bb
+++ b/packages/python/python-pysqlite2_2.2.2.bb
@@ -4,10 +4,15 @@ PRIORITY = "optional"
LICENSE = "PSF"
RDEPENDS = "python-core python-re python-lang python-datetime"
DEPENDS = "sqlite3"
-SRCNAME = "pysqlite"
-PR = "ml1"
+SRCNAME = "pysqlite2"
+PR = "ml2"
-SRC_URI = "http://initd.org/pub/software/pysqlite/releases/2.2/${PV}/${SRCNAME}-${PV}.tar.gz"
-S = "${WORKDIR}/${SRCNAME}-${PV}"
+SRC_URI = "http://initd.org/pub/software/pysqlite/releases/2.2/${PV}/pysqlite-${PV}.tar.gz"
+S = "${WORKDIR}/pysqlite-${PV}"
inherit distutils
+
+do_install_append() {
+ install -d ${D}${docdir}/doc
+ mv ${D}/${datadir}/pysqlite2-doc ${D}${docdir}/${SRCNAME}
+}