298769e3f9
--HG-- extra : convert_revision : ee6067b7885d10d750d4788616d5dffb13036fd1
31 lines
918 B
Text
31 lines
918 B
Text
# Template file for 'libmysqlclient-devel'.
|
|
#
|
|
short_desc="MySQL database development files"
|
|
long_desc="${long_desc}
|
|
|
|
This package includes development libraries and header files."
|
|
|
|
revision=1
|
|
|
|
Add_dependency run libstdc++-devel
|
|
Add_dependency run libmysqlclient
|
|
|
|
noverifyrdeps=yes
|
|
|
|
do_install()
|
|
{
|
|
mkdir -p ${DESTDIR}/usr/lib/mysql/plugin \
|
|
${DESTDIR}/usr/share/man/man1 ${DESTDIR}/usr/bin \
|
|
${DESTDIR}/usr/include/mysql
|
|
|
|
mv ${SRCPKGDESTDIR}/usr/bin/mysql_config ${DESTDIR}/usr/bin
|
|
mv ${SRCPKGDESTDIR}/usr/share/man/man1/mysql_config.1 \
|
|
${DESTDIR}/usr/share/man/man1
|
|
mv ${SRCPKGDESTDIR}/usr/include/mysql/*.h ${DESTDIR}/usr/include/mysql
|
|
mv ${SRCPKGDESTDIR}/usr/lib/mysql/libmysqlclient*.a ${DESTDIR}/usr/lib
|
|
mv ${SRCPKGDESTDIR}/usr/share/aclocal ${DESTDIR}/usr/share
|
|
for p in *example* mypluglib* *.{a,so}; do
|
|
mv ${SRCPKGDESTDIR}/usr/lib/mysql/plugin/${p} \
|
|
${DESTDIR}/usr/lib/mysql/plugin
|
|
done
|
|
}
|