Lines 1-10
Link Here
|
1 |
# Copyright 1999-2007 Gentoo Foundation |
1 |
# Copyright 1999-2006 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-db/pgadmin3/pgadmin3-1.4.3.ebuild,v 1.5 2007/02/10 13:19:10 beandog Exp $ |
3 |
# |
4 |
|
4 |
|
5 |
inherit wxwidgets eutils autotools |
5 |
inherit wxwidgets eutils autotools |
6 |
|
6 |
|
7 |
KEYWORDS="~alpha amd64 ppc sparc x86" |
7 |
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" |
8 |
|
8 |
|
9 |
DESCRIPTION="wxWidgets GUI for PostgreSQL." |
9 |
DESCRIPTION="wxWidgets GUI for PostgreSQL." |
10 |
HOMEPAGE="http://www.pgadmin.org/" |
10 |
HOMEPAGE="http://www.pgadmin.org/" |
Lines 13-26
Link Here
|
13 |
SLOT="0" |
13 |
SLOT="0" |
14 |
IUSE="debug" |
14 |
IUSE="debug" |
15 |
|
15 |
|
16 |
DEPEND="=x11-libs/wxGTK-2.6* |
16 |
DEPEND="=x11-libs/wxGTK-2.8* |
17 |
>=dev-db/libpq-7.4 |
17 |
>=dev-db/libpq-7.4 |
18 |
>=dev-libs/libxml2-2.5 |
18 |
>=dev-libs/libxml2-2.5 |
19 |
>=dev-libs/libxslt-1.1" |
19 |
>=dev-libs/libxslt-1.1" |
20 |
RDEPEND="${DEPEND}" |
20 |
RDEPEND="${DEPEND}" |
21 |
|
21 |
|
22 |
pkg_setup() { |
22 |
pkg_setup() { |
23 |
export WX_GTK_VER=2.6 |
23 |
export WX_GTK_VER=2.8 |
24 |
export WX_HOME=/usr |
24 |
export WX_HOME=/usr |
25 |
need-wxwidgets unicode |
25 |
need-wxwidgets unicode |
26 |
} |
26 |
} |
Lines 40-50
Link Here
|
40 |
|
40 |
|
41 |
src_compile() { |
41 |
src_compile() { |
42 |
cd "${S}" |
42 |
cd "${S}" |
43 |
|
43 |
patch -p0 < ${FILESDIR}/patch.p0 |
44 |
# pgadmin3 inserts WX_HOME before the WX_CONFIG path below, so we have to strip "/usr" from it |
44 |
# pgadmin3 inserts WX_HOME before the WX_CONFIG path below, so we have to strip "/usr" from it |
45 |
econf \ |
45 |
econf \ |
46 |
--with-wx-config=${WX_CONFIG/\/usr} \ |
46 |
--with-wx-config=/${WX_CONFIG/\ /usr} \ |
47 |
$(use_enable debug) \ |
47 |
--with-wx-version=2.8 \ |
48 |
|| die "econf failed" |
48 |
|| die "econf failed" |
49 |
emake || die "emake failed" |
49 |
emake || die "emake failed" |
50 |
} |
50 |
} |