# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-libs/atk/atk-1.10.3.ebuild,v 1.10 2006/07/05 05:21:36 vapier 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 sh 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" #}