2010-03-04 13:50:13 +01:00
|
|
|
# Template file for 'libmysqlclient-devel'.
|
|
|
|
#
|
2012-03-30 03:09:12 +02:00
|
|
|
revision=1
|
2010-03-04 13:50:13 +01:00
|
|
|
short_desc="MySQL database development files"
|
|
|
|
long_desc="${long_desc}
|
|
|
|
|
|
|
|
This package includes development libraries and header files."
|
|
|
|
|
|
|
|
Add_dependency run libstdc++-devel
|
2012-03-30 03:09:12 +02:00
|
|
|
Add_dependency run libmysqlclient ">=${version}"
|
2010-03-04 13:50:13 +01:00
|
|
|
|
|
|
|
noverifyrdeps=yes
|
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
2012-03-30 03:09:12 +02:00
|
|
|
vmove usr/bin/mysql_config usr/bin
|
|
|
|
vmove usr/share/man/man1/mysql_config.1 usr/share/man
|
|
|
|
vmove "usr/include/mysql/*.h" usr/include/mysql
|
|
|
|
vmove usr/lib/mysql/libmysqlclient*.a usr/lib/mysql
|
|
|
|
vmove usr/share/aclocal usr/share
|
2010-03-04 13:50:13 +01:00
|
|
|
|
2012-03-30 03:09:12 +02:00
|
|
|
for p in *example* mypluglib* *.a; do
|
|
|
|
vmove usr/lib/mysql/plugin/${p} usr/lib/mysql/plugin
|
2010-03-04 13:50:13 +01:00
|
|
|
done
|
|
|
|
}
|