summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-09-19 10:19:29 +0000
committerPhil Blundell <philb@gnu.org>2004-09-19 10:19:29 +0000
commit590f9088d2c4ae22865de7da637da94c880e861b (patch)
tree2df06c8977ffaca25236e99e12599e9744d724a3
parentda2580a3ed817f5f72dece51d9a414365ddf18b1 (diff)
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
-rw-r--r--mysql/mysql_4.1.4a.oe12
1 files changed, 12 insertions, 0 deletions
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 <kergoth@handhelds.org>"
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
+}