diff options
author | Koen Kooi <koen@openembedded.org> | 2005-04-12 16:06:53 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2005-04-12 16:06:53 +0000 |
commit | 4eb6ecd02d456b1cf7a22f304d4ff9320eff9a23 (patch) | |
tree | 2b00a9df2ef402f60d5676d03d031feffe4f2a9e /packages/mysql | |
parent | d9e02ec805a57c1b2e99558b8c2848ac1bcf42de (diff) |
mysql_4.1.10a.bb: install embedded mysqld lib into staging too
BKrev: 425bf21d9nqlPlxnNdDvKDraVN5t5A
Diffstat (limited to 'packages/mysql')
-rw-r--r-- | packages/mysql/mysql_4.1.10a.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/packages/mysql/mysql_4.1.10a.bb b/packages/mysql/mysql_4.1.10a.bb index e69de29bb2..ffc2725833 100644 --- a/packages/mysql/mysql_4.1.10a.bb +++ b/packages/mysql/mysql_4.1.10a.bb @@ -0,0 +1,33 @@ +DESCRIPTION = "The MySQL Open Source Database System" +MAINTAINER = "Chris Larson <kergoth@handhelds.org>" +SECTION = "libs" +DEPENDS += "ncurses mysql-native" +PR = "r3" +LICENSE = "GPL" +SRC_URI = "http://mirrors.develooper.com/mysql/Downloads/MySQL-4.1/mysql-${PV}.tar.gz \ + file://autofoo.patch;patch=1 \ + file://gen_lex_hash.patch;patch=1" +S = "${WORKDIR}/mysql-${PV}" + +inherit autotools + +EXTRA_OEMAKE = "'GEN_LEX_HASH=${STAGING_BINDIR}/gen_lex_hash'" +EXTRA_OECONF = " --with-embedded-server " + +do_stage() { + autotools_stage_includes + oe_libinstall -a -so -C libmysql libmysqlclient libmysqld ${STAGING_LIBDIR} +} + +do_install() { + oe_runmake 'DESTDIR=${D}' install + mv -f ${D}${libdir}/mysql/* ${D}${libdir} + rmdir ${D}${libdir}/mysql +} + +PACKAGES =+ "libmysqlclient libmysqlclient-dev" + +FILES_libmysqlclient = "${libdir}/libmysqlclient*.so.*" +FILES_libmysqlclient-dev = "${incdir}/mysql ${libdir}/lib* \ + ${bindir}/mysql_config" + |