aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/mysql/mariadb-native_5.1.67.bb
blob: 15605d0e2d6fb8c8a4e2887ade23ea46cc15df28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
require mariadb_${PV}.inc
inherit native

PROVIDES += "mysql5-native"
DEPENDS = "ncurses-native zlib-native"

RDEPENDS_${PN} = ""
PACKAGES = ""
EXTRA_OEMAKE = ""
EXTRA_OECONF = " --with-embedded-server "

SRC_URI += "file://fix-link-error-ub1310.patch \
"

do_install() {
    oe_runmake 'DESTDIR=${D}' install
    mv -f ${D}${libdir}/mysql/* ${D}${libdir}
    rmdir ${D}${libdir}/mysql

    install -d ${D}${bindir}
    install -m 0755 sql/gen_lex_hash ${D}${bindir}/
}