On 3/11/2010 2:24 PM, Daniel Bartholomew wrote:
On Thu, 11 Mar 2010 12:58:49 -0500, Brian Evans <grknight@scent-team.com> wrote:
Brian> emerge is the Gentoo package manager. Brian> Brian> Brief HowTo: Brian> Brian> 1. Grab the ebuilds and related files into a directory: "git Brian> clone http://github.com/grknight/mariadb-gentoo.git" Brian> 2. Add the directory to your PORTDIR_OVERLAY in /etc/make.conf. Brian> e.g. PORTDIR_OVERLAY="/usr/local/portage/mariadb-gentoo" Brian> 3. Copy the files from the distfiles directory in the repository Brian> to /usr/portage/distfiles. (This is for mariadb patches that Brian> differ from Gentoo main.) Brian> 4. Add dev-db/mariadb to your /etc/portage/package.keywords and Brian> add any optional features (USE flags) to Brian> your /etc/portage/package.use 5. emerge mariadb
I've added the how-to to the page.
http://askmonty.org/wiki/index.php/Building_MariaDB:Gentoo
Thanks!
I've also asked Gentoo to include MariaDB via their bug: http://bugs.gentoo.org/show_bug.cgi?id=303130 Robin Johnson has begun to accept my changes and will be added to Gentoo proper in the future. It is still in an experimental overlay, but will be merged to the main tree. So, the above instructions are valid until Gentoo posts into the official tree. Then, Gentoo fans can simply "emerge mariadb".