/[gentoo-x86]/dev-util/gtk-doc-am/gtk-doc-am-1.17.ebuild
Gentoo

Contents of /dev-util/gtk-doc-am/gtk-doc-am-1.17.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (show annotations) (download)
Sat May 5 09:51:53 2012 UTC (2 years, 7 months ago) by jdhore
Branch: MAIN
Changes since 1.12: +3 -3 lines
THE FINAL dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-util/gtk-doc-am/gtk-doc-am-1.17.ebuild,v 1.12 2011/08/19 16:47:10 gmsoft Exp $
4
5 EAPI="3"
6
7 inherit versionator
8
9 MY_PN="gtk-doc"
10 MY_P=${MY_PN}-${PV}
11 MAJ_PV=$(get_version_component_range 1-2)
12
13 DESCRIPTION="Automake files from gtk-doc"
14 HOMEPAGE="http://www.gtk.org/gtk-doc/"
15 SRC_URI="mirror://gnome/sources/${MY_PN}/${PV}/${MY_P}.tar.bz2"
16
17 LICENSE="GPL-2 FDL-1.1"
18 SLOT="0"
19 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"
20 IUSE=""
21
22 RDEPEND=">=dev-lang/perl-5.6"
23 DEPEND="${RDEPEND}
24 !<dev-util/gtk-doc-${MAJ_PV}"
25 # pkg-config is used by gtkdoc-rebase at runtime
26 # PDEPEND to avoid circular deps, bug 368301
27 PDEPEND="virtual/pkgconfig"
28
29 # This ebuild doesn't even compile anything, causing tests to fail when updating (bug #316071)
30 RESTRICT="test"
31
32 S=${WORKDIR}/${MY_P}
33
34 DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README TODO"
35
36 src_configure() {
37 # Duplicate autoconf checks so we don't have to call configure
38 local PERL=$(type -P perl)
39
40 test -n "${PERL}" || die "Perl not found!"
41 "${PERL}" -e "require v5.6.0" || die "perl >= 5.6.0 is required for gtk-doc"
42
43 # Replicate AC_SUBST
44 sed -e "s:@PERL@:${PERL}:g" -e "s:@VERSION@:${PV}:g" \
45 "${S}/gtkdoc-rebase.in" > "${S}/gtkdoc-rebase" || die "sed failed!"
46 }
47
48 src_compile() {
49 :
50 }
51
52 src_install() {
53 fperms +x gtkdoc-rebase
54 exeinto /usr/bin/
55 doexe gtkdoc-rebase || die "doexe failed"
56
57 insinto /usr/share/aclocal
58 doins gtk-doc.m4 || die "doins failed"
59 }

  ViewVC Help
Powered by ViewVC 1.1.20