aboutsummaryrefslogtreecommitdiff
path: root/recipes/python/python-mysqldb_1.2.1.bb
blob: ca5e2174015c7de9b766a84edd0d3f9077302a3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
DESCRIPTION = "Python interface to MySQL"
SECTION = "devel/python"
PRIORITY = "optional"
LICENSE = "LGPL"
DEPENDS = "mysql"
SRCNAME = "MySQL-python"

inherit distutils

SRC_URI = "\
  ${SOURCEFORGE_MIRROR}/mysql-python/MySQL-python-${PV}_p2.tar.gz \
  file://mysqlpath.patch \
  file://site.patch \
"
S = "${WORKDIR}/${SRCNAME}-${PV}_p2"

do_install_append() {
    install -d ${D}${datadir}/doc/${PN}/
    install -m 0644 ${S}/doc/*.txt ${D}${datadir}/doc/${PN}/
}

SRC_URI[md5sum] = "e6b9ea21fd91cb4a5663304da727bb70"
SRC_URI[sha256sum] = "59f44cd53cfa1189dcaa5bf2c48662d5765f347b03827feb807f4cd0ef18943e"