How to create a source tar.gz files.
First [[Linux Build Environment Setup|Setup your build environment]].
Then use automake/configure/make to generate the tar file:
<<code>>
BUILD/autorun.sh
./configure --with-plugin-xtradb
make dist
<</code>>
This creates a source file with a name like <<fixed>>mysql-5.3.2-MariaDB-beta.tar.gz<</fixed>>
See also [[generic-build-instructions|the generic build instructions]].