Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Percona 5.5.27 ebuild

  • Loading branch information...
commit c7f145df4ac133aca7e42938674a6b41df446f72 1 parent bb6f13f
@kormoc authored
Showing with 90 additions and 0 deletions.
  1. +90 −0 dev-db/percona/percona-5.5.27.ebuild
View
90 dev-db/percona/percona-5.5.27.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+
+DESCRIPTION="Percona Server with XtraDB is a backwards-compatible replacement
+for MySQL that is much faster and more scalable, easier to monitor and tune, and
+has features to make operational tasks easier. It is designed to excel for cloud
+computing, support NoSQL access, and take full advantage of modern hardware such
+as SSD and Flash storage."
+HOMEPAGE="http://www.percona.com/software/percona-server/"
+
+MY_P="5.5"
+MY_POINT="27"
+MY_PATCH="28.0"
+MY_BUILD="291"
+
+MY_PS="${MY_P}.${MY_POINT}-${MY_PATCH}"
+MY_PV="${MY_P}.${MY_POINT}-rel${MY_PATCH}"
+MY_PVP="${MY_PV}-${MY_BUILD}"
+MY_PN="Percona-Server-${MY_PVP}.Linux.x86_64"
+
+SRC_URI="amd64? (
+http://www.percona.com/downloads/Percona-Server-${MY_P}/Percona-Server-${MY_PS}/binary/linux/x86_64/Percona-Server-${MY_PVP}.Linux.x86_64.tar.gz )
+"
+
+LICENSE="GPL"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}
+ dev-libs/libaio
+ >=sys-apps/openrc-0.7.0
+ "
+
+src_unpack() {
+ unpack ${A}
+
+}
+
+src_compile() {
+ true
+}
+
+src_install() {
+ cd ${WORKDIR}/${MY_PN}/
+
+ dosym /lib64/libncurses.so.5 /lib64/libtinfo.so.5
+
+ dodir /etc/mysql/
+ dodir /var/lib/mysql/
+
+ insinto /etc
+ doins bin/*.conf
+ rm bin/*.conf
+
+ insinto /etc/conf.d/
+ newins ${FILESDIR}/conf.d.mysql mysql
+
+ exeinto /etc/init.d/
+ newexe ${FILESDIR}/init.d.mysql mysql
+
+ dosbin bin/mysqld
+ rm bin/mysqld
+
+ dobin bin/*
+ dobin scripts/*
+ dolib lib/*.so*
+ dolib.a lib/*.a
+ dodoc docs/*
+
+ insinto /usr/lib64/mysql/plugin/
+ doins -r lib/mysql/plugin/*
+
+ insinto /usr/include/mysql/
+ doins -r include/*
+
+ insinto /usr/share/man/
+ doins -r man/*
+
+ insinto /usr/share/mysql/
+ doins -r share/*
+
+ insinto /usr/share/mysql/support-files/
+ doins -r support-files/*
+}
+
Please sign in to comment.
Something went wrong with that request. Please try again.