blob: 067bcf2b165373634ac321d7364194976d7e7edd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-query-browser/mysql-query-browser-1.1.12.ebuild,v 1.1 2005/06/23 03:42:23 swegener Exp $
inherit gnome2 eutils
DESCRIPTION="MySQL Query Browser"
HOMEPAGE="http://www.mysql.com/products/query-browser/"
SRC_URI="mirror://mysql/Downloads/MySQLAdministrationSuite/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc"
IUSE=""
RDEPEND=">=dev-db/mysql-4.0
>=dev-libs/libpcre-4.4
>=dev-libs/libxml2-2.6.2
>=gnome-base/libglade-2
=gnome-extra/libgtkhtml-3.0*
>=dev-libs/glib-2
=dev-cpp/gtkmm-2.2*"
DEPEND="${RDEPEND}
>=dev-util/pkgconfig-0.12.0
>=app-text/scrollkeeper-0.3.11"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PV}-optional-4.1-support.patch
}
src_compile() {
cd "${S}"/mysql-gui-common
econf --with-commondirname=common/query-browser || die "econf failed"
emake || die "emake failed"
cd "${S}"/mysql-query-browser
econf --with-commondirname=common/query-browser || die "econf failed"
emake || die "emake failed"
}
src_install() {
USE_DESTDIR=1
cd "${S}"/mysql-gui-common
gnome2_src_install || die "gnome2_src_install failed"
cd "${S}"/mysql-query-browser
gnome2_src_install || die "gnome2_src_install failed"
dohtml -r "${S}"/mysql-query-browser/doc/ || die "dohtml failed"
}
|