summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2011-11-05 12:25:26 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2011-11-05 12:25:26 +0000
commite6602503c1d022e32260d1a5b3382003d290f973 (patch)
treebdd0d5fc5ac37eeed999047df83ed9279e99b669 /dev-db/mydumper
parentStable on amd64 wrt bug #389181 (diff)
downloadgentoo-2-e6602503c1d022e32260d1a5b3382003d290f973.tar.gz
gentoo-2-e6602503c1d022e32260d1a5b3382003d290f973.tar.bz2
gentoo-2-e6602503c1d022e32260d1a5b3382003d290f973.zip
Initial import of mydumper ebuild by Pavel Stratil (who will proxy maintain it).
(Portage version: 2.2.0_alpha72/cvs/Linux x86_64)
Diffstat (limited to 'dev-db/mydumper')
-rw-r--r--dev-db/mydumper/ChangeLog11
-rw-r--r--dev-db/mydumper/metadata.xml11
-rw-r--r--dev-db/mydumper/mydumper-0.5.1.ebuild40
3 files changed, 62 insertions, 0 deletions
diff --git a/dev-db/mydumper/ChangeLog b/dev-db/mydumper/ChangeLog
new file mode 100644
index 000000000000..779240685de2
--- /dev/null
+++ b/dev-db/mydumper/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-db/mydumper
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mydumper/ChangeLog,v 1.1 2011/11/05 12:25:26 flameeyes Exp $
+
+*mydumper-0.5.1 (05 Nov 2011)
+
+ 05 Nov 2011; Diego E. Pettenò <flameeyes@gentoo.org> +metadata.xml,
+ +mydumper-0.5.1.ebuild:
+ Initial import of mydumper ebuild by Pavel Stratil (who will proxy maintain
+ it).
+
diff --git a/dev-db/mydumper/metadata.xml b/dev-db/mydumper/metadata.xml
new file mode 100644
index 000000000000..044aba3daa7c
--- /dev/null
+++ b/dev-db/mydumper/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>pavel.stratil-jun@fenix.cz</email>
+ <description>Proxied co-maintainer, assign bugs to him</description>
+ </maintainer>
+ <maintainer>
+ <email>flameeyes@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-db/mydumper/mydumper-0.5.1.ebuild b/dev-db/mydumper/mydumper-0.5.1.ebuild
new file mode 100644
index 000000000000..1eb75ba276db
--- /dev/null
+++ b/dev-db/mydumper/mydumper-0.5.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mydumper/mydumper-0.5.1.ebuild,v 1.1 2011/11/05 12:25:26 flameeyes Exp $
+
+EAPI=2
+inherit cmake-utils versionator
+
+DESCRIPTION="A high-performance multi-threaded backup (and restore) toolset for MySQL and Drizzle"
+HOMEPAGE="http://www.mydumper.org/"
+SRC_URI="http://launchpad.net/mydumper/$(get_version_component_range 1-2)/${PV}/+download/${P}.tar.gz"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc"
+
+RDEPEND="dev-libs/libpcre
+ virtual/mysql
+ dev-libs/glib:2"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ doc? ( dev-python/sphinx )"
+
+DOCS=( README )
+
+src_prepare() {
+ # respect user cflags; do not expand ${CMAKE_C_FLAGS} (!)
+ sed -i -e 's:-W.*-g:${CMAKE_C_FLAGS}:' CMakeLists.txt
+ # fix doc install path
+ sed -i -e "s:share/doc/mydumper:share/doc/${PF}:" docs/CMakeLists.txt
+}
+
+src_compile() {
+ cp "${CMAKE_BUILD_DIR}/config.h" "${CMAKE_USE_DIR}" || die
+}
+
+src_configure() {
+ mycmakeargs=( $(cmake-utils_use doc BUILD_DOCS) )
+
+ cmake-utils_src_configure
+}