# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-util/gtk-doc-am/gtk-doc-am-1.17.ebuild,v 1.13 2012/05/05 09:51:53 jdhore Exp $ EAPI="3" inherit versionator MY_PN="gtk-doc" MY_P=${MY_PN}-${PV} MAJ_PV=$(get_version_component_range 1-2) DESCRIPTION="Automake files from gtk-doc" HOMEPAGE="http://www.gtk.org/gtk-doc/" SRC_URI="mirror://gnome/sources/${MY_PN}/${PV}/${MY_P}.tar.bz2" LICENSE="GPL-2 FDL-1.1" SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="" RDEPEND=">=dev-lang/perl-5.6" DEPEND="${RDEPEND} != 5.6.0 is required for gtk-doc" # Replicate AC_SUBST sed -e "s:@PERL@:${PERL}:g" -e "s:@VERSION@:${PV}:g" \ "${S}/gtkdoc-rebase.in" > "${S}/gtkdoc-rebase" || die "sed failed!" } src_compile() { : } src_install() { fperms +x gtkdoc-rebase exeinto /usr/bin/ doexe gtkdoc-rebase || die "doexe failed" insinto /usr/share/aclocal doins gtk-doc.m4 || die "doins failed" }