blob: f322c08751c991e48c0869966acf2634b9009b54 (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/atk/atk-1.10.2.ebuild,v 1.3 2005/08/31 13:34:48 leonardop Exp $
inherit gnome2
DESCRIPTION="GTK+ & GNOME Accessibility Toolkit"
HOMEPAGE="http://developer.gnome.org/projects/gap/"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
IUSE="doc static"
RDEPEND=">=dev-libs/glib-2.5.7"
DEPEND="${RDEPEND}
>=dev-util/pkgconfig-0.9
doc? ( >=dev-util/gtk-doc-1 )"
DOCS="AUTHORS ChangeLog NEWS README"
pkg_setup() {
G2CONF="$(use_enable static)"
}
src_unpack() {
unpack "${A}"
cd "${S}"
# Re-generate ltmain.sh, configure and friends, since the upstream tarball
# was built with a buggy libtool (missing 'so' extension in binaries).
export WANT_AUTOMAKE=1.7
libtoolize --copy --force
# Preserve gtk-doc macro
sed -n -e '/GTK_DOC_CHECK/,$p' aclocal.m4 > gtkdoc.m4
aclocal -I . || die "aclocal failed"
autoconf || die "autoconf failed"
}
|