Skip to content

Commit

Permalink
dev-util/gtk-doc-am: version bump to 1.25-r1
Browse files Browse the repository at this point in the history
Switch to EAPI=6.
Fix dependencies per configure.

Package-Manager: portage-2.3.0
  • Loading branch information
EvaSDK committed Sep 7, 2016
1 parent 5c7bef5 commit 8ceb2d8
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions dev-util/gtk-doc-am/gtk-doc-am-1.25-r1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=6
GNOME_ORG_MODULE="gtk-doc"

inherit gnome.org

DESCRIPTION="Automake files from gtk-doc"
HOMEPAGE="http://www.gtk.org/gtk-doc/"

LICENSE="GPL-2 FDL-1.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"

RDEPEND=">=dev-lang/perl-5.18"
DEPEND="${RDEPEND}
virtual/pkgconfig
!<dev-util/gtk-doc-${GNOME_ORG_PVP}
"
# This ebuild doesn't even compile anything, causing tests to fail when updating (bug #316071)
RESTRICT="test"

src_configure() {
# Duplicate autoconf checks so we don't have to call configure
local PERL=$(type -P perl)

test -n "${PERL}" || die "Perl not found!"
"${PERL}" -e "require v5.18.0" || die "perl >= 5.18.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() {
dobin gtkdoc-rebase

insinto /usr/share/aclocal
doins gtk-doc.m4
}

0 comments on commit 8ceb2d8

Please sign in to comment.