From 590f9088d2c4ae22865de7da637da94c880e861b Mon Sep 17 00:00:00 2001 From: Phil Blundell Date: Sun, 19 Sep 2004 10:19:29 +0000 Subject: Merge bk://openembedded@openembedded.bkbits.net/packages into stealth.(none):/home/pb/oe/oe-packages 2004/09/19 11:19:03+01:00 (none)!pb break out libmysqlclient into its own package BKrev: 414d5d31rv1ZIYazWW92J75CFyi8Rg --- mysql/mysql_4.1.4a.oe | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'mysql') diff --git a/mysql/mysql_4.1.4a.oe b/mysql/mysql_4.1.4a.oe index 06c60948fb..a71707b6a0 100644 --- a/mysql/mysql_4.1.4a.oe +++ b/mysql/mysql_4.1.4a.oe @@ -1,3 +1,5 @@ +PR = "r1" + MAINTAINER = "Chris Larson " SRC_URI = "http://mirrors.develooper.com/mysql/Downloads/MySQL-4.1/mysql-${PV}-gamma.tar.gz \ file://autofoo.patch;patch=1 \ @@ -5,6 +7,12 @@ SRC_URI = "http://mirrors.develooper.com/mysql/Downloads/MySQL-4.1/mysql-${PV}-g S = "${WORKDIR}/mysql-${PV}-gamma" DEPENDS += "ncurses mysql-native" +PACKAGES =+ "libmysqlclient libmysqlclient-dev" + +FILES_libmysqlclient = "${libdir}/libmysqlclient*.so.*" +FILES_libmysqlclient-dev = "${incdir}/mysql ${libdir}/lib* \ + ${bindir}/mysql_config" + inherit autotools EXTRA_OEMAKE = "'GEN_LEX_HASH=${STAGING_BINDIR}/gen_lex_hash'" @@ -14,3 +22,7 @@ do_stage() { oe_libinstall -a -so -C libmysql libmysqlclient ${STAGING_LIBDIR} } +do_install_append() { + mv -f ${D}${libdir}/mysql/* ${D}${libdir} + rmdir ${D}${libdir}/mysql +} -- cgit v1.2.3