summaryrefslogtreecommitdiff
path: root/packages/python/python-mysqldb_1.2.1.bb
blob: 0f305c93a624072c9b12af551565f794e75ba655 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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;patch=1 \
file://site.patch;patch=1"

S = "${WORKDIR}/${SRCNAME}-${PV}_p2"

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