# Template file for 'mysql-ndb'.
#
short_desc="MySQL NDB (Network Database) binaries"
long_desc="${long_desc}

 This package includes the binaries for the MySQL NDB (Network Database)
 component."

revision=1

Add_dependency run libgcc
Add_dependency run glibc
Add_dependency run libstdc++
Add_dependency run ncurses-libs
Add_dependency run zlib
Add_dependency run readline

do_install()
{
	mkdir -p ${DESTDIR}/usr/{,s}bin ${DESTDIR}/usr/share/man/man{1,8}

	mv ${SRCPKGDESTDIR}/usr/bin/ndb_* ${DESTDIR}/usr/bin
	mv ${SRCPKGDESTDIR}/usr/sbin/ndb* ${DESTDIR}/usr/sbin
	mv ${SRCPKGDESTDIR}/usr/share/man/man1/ndb* \
		${DESTDIR}/usr/share/man/man1
	mv ${SRCPKGDESTDIR}/usr/share/man/man8/ndb* \
		${DESTDIR}/usr/share/man/man8
}
