/[gentoo-x86]/dev-db/mydumper/mydumper-0.5.1.ebuild
Gentoo

Contents of /dev-db/mydumper/mydumper-0.5.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat May 26 14:14:11 2012 UTC (2 years, 4 months ago) by idl0r
Branch: MAIN
Changes since 1.2: +2 -2 lines
Add ~x86 keyword

(Portage version: 2.1.10.49/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-db/mydumper/mydumper-0.5.1.ebuild,v 1.2 2012/05/03 02:33:21 jdhore Exp $
4
5 EAPI=2
6 inherit cmake-utils versionator
7
8 DESCRIPTION="A high-performance multi-threaded backup (and restore) toolset for MySQL and Drizzle"
9 HOMEPAGE="http://www.mydumper.org/"
10 SRC_URI="http://launchpad.net/mydumper/$(get_version_component_range 1-2)/${PV}/+download/${P}.tar.gz"
11 LICENSE="GPL-3"
12 SLOT="0"
13 KEYWORDS="~amd64 ~x86"
14 IUSE="doc"
15
16 RDEPEND="dev-libs/libpcre
17 virtual/mysql
18 dev-libs/glib:2"
19 DEPEND="${RDEPEND}
20 virtual/pkgconfig
21 doc? ( dev-python/sphinx )"
22
23 DOCS=( README )
24
25 src_prepare() {
26 # respect user cflags; do not expand ${CMAKE_C_FLAGS} (!)
27 sed -i -e 's:-W.*-g:${CMAKE_C_FLAGS}:' CMakeLists.txt
28 # fix doc install path
29 sed -i -e "s:share/doc/mydumper:share/doc/${PF}:" docs/CMakeLists.txt
30 }
31
32 src_compile() {
33 cp "${CMAKE_BUILD_DIR}/config.h" "${CMAKE_USE_DIR}" || die
34 }
35
36 src_configure() {
37 mycmakeargs=( $(cmake-utils_use doc BUILD_DOCS) )
38
39 cmake-utils_src_configure
40 }

  ViewVC Help
Powered by ViewVC 1.1.20