Permalink
Browse files

Удалил устаревшее

  • Loading branch information...
1 parent fd2adcc commit f8365e8a1f0c840d914b0442274db08f664427c9 @miramir committed Feb 24, 2013
@@ -1,49 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=3
-inherit autotools confutils eutils multilib
-DESCRIPTION="Pinba engine"
-HOMEPAGE="http://pinba.org/wiki/Main_Page"
-SRC_URI="http://pinba.org/files/pinba_engine-${PV}.tar.gz"
-
-LICENSE="GPL"
-SLOT="0"
-KEYWORDS="~x86 ~amd64"
-#IUSE="libevent mysql mariadb"
-IUSE=""
-DEPEND="dev-libs/protobuf
- dev-libs/judy
- >=dev-db/mariadb-5.3.7"
-RDEPEND="${DEPEND}"
-S="${WORKDIR}"/pinba_engine-${PV}
-
-#src_unpack(){
-# cd ${S}
-# epatch "${FILESDIR}"/mysql_private_header.patch
-#}
-
-src_configure() {
- myconf="--with-mysql=yes --with-protobuf --with-judy --with-event"
- myconf="${myconf} --libdir=/usr/$(get_libdir)/mysql/plugin"
- cd "pinba_engine-${PV}"
- epatch "${FILESDIR}"/mysql_private_header.patch
- eautoreconf
- econf ${myconf}
-}
-src_install() {
- cd pinba_engine-${PV}
- emake install DESTDIR="${D}" || die "emake install failed"
- dodir /usr/share/pinba/
- insinto /usr/share/pinba/
- doins default_tables.sql
-}
-
-pkg_postinst() {
- einfo "You need to execute the following command on mysql server"
- einfo "so pinba works properly:"
- elog "mysql> INSTALL PLUGIN pinba SONAME 'libpinba_engine.so';"
- elog "mysql> CREATE DATABASE pinba;"
- elog "mysql -D pinba < /usr/share/pinba/default_tables.sql"
-}
Oops, something went wrong.

0 comments on commit f8365e8

Please sign in to comment.