summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2014-11-15 06:07:49 +0000
committerMike Frysinger <vapier@gentoo.org>2014-11-15 06:07:49 +0000
commit0aaf94d84be0a1e1b93dffe4593c1ce93fb62119 (patch)
tree0045af2cdde6276d0f66e010eee8d40e16e88859 /sys-devel/automake/automake-1.12.6.ebuild
parenteautomake: fix parsing of version output #509786 by Brian Evans (diff)
downloadgentoo-2-0aaf94d84be0a1e1b93dffe4593c1ce93fb62119.tar.gz
gentoo-2-0aaf94d84be0a1e1b93dffe4593c1ce93fb62119.tar.bz2
gentoo-2-0aaf94d84be0a1e1b93dffe4593c1ce93fb62119.zip
Update to EAPI=4 and unify behavior across versions.
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Diffstat (limited to 'sys-devel/automake/automake-1.12.6.ebuild')
-rw-r--r--sys-devel/automake/automake-1.12.6.ebuild34
1 files changed, 12 insertions, 22 deletions
diff --git a/sys-devel/automake/automake-1.12.6.ebuild b/sys-devel/automake/automake-1.12.6.ebuild
index 5433b3ca3d84..7489af149315 100644
--- a/sys-devel/automake/automake-1.12.6.ebuild
+++ b/sys-devel/automake/automake-1.12.6.ebuild
@@ -1,23 +1,14 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/automake/automake-1.12.6.ebuild,v 1.19 2014/01/17 04:23:15 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/automake/automake-1.12.6.ebuild,v 1.20 2014/11/15 06:07:49 vapier Exp $
-inherit eutils versionator unpacker
+EAPI="4"
-if [[ ${PV/_beta} == ${PV} ]]; then
- MY_P=${P}
- SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
- ftp://alpha.gnu.org/pub/gnu/${PN}/${MY_P}.tar.xz"
-else
- MY_PV="$(get_major_version).$(($(get_version_component_range 2)-1))b"
- MY_P="${PN}-${MY_PV}"
-
- # Alpha/beta releases are not distributed on the usual mirrors.
- SRC_URI="ftp://alpha.gnu.org/pub/gnu/${PN}/${MY_P}.tar.xz"
-fi
+inherit eutils
DESCRIPTION="Used to generate Makefile.in from Makefile.am"
HOMEPAGE="http://www.gnu.org/software/automake/"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
LICENSE="GPL-2"
# Use Gentoo versioning for slotting.
@@ -27,22 +18,21 @@ IUSE=""
RDEPEND="dev-lang/perl
>=sys-devel/automake-wrapper-9
- >=sys-devel/autoconf-2.62
+ >=sys-devel/autoconf-2.69
sys-devel/gnuconfig"
DEPEND="${RDEPEND}
sys-apps/help2man"
-S="${WORKDIR}/${MY_P}"
-
-src_unpack() {
- unpacker_src_unpack
- cd "${S}"
+src_prepare() {
export WANT_AUTOCONF=2.5
}
+src_configure() {
+ econf --docdir=/usr/share/doc/${PF} HELP2MAN=true
+}
+
src_compile() {
- econf --docdir=/usr/share/doc/${PF} HELP2MAN=true || die
- emake APIVERSION="${SLOT}" pkgvdatadir="/usr/share/${PN}-${SLOT}" || die
+ emake APIVERSION="${SLOT}" pkgvdatadir="/usr/share/${PN}-${SLOT}"
}
# slot the info pages. do this w/out munging the source so we don't have
@@ -76,7 +66,7 @@ slot_info_pages() {
src_install() {
emake DESTDIR="${D}" install \
- APIVERSION="${SLOT}" pkgvdatadir="/usr/share/${PN}-${SLOT}" || die
+ APIVERSION="${SLOT}" pkgvdatadir="/usr/share/${PN}-${SLOT}"
slot_info_pages
rm "${D}"/usr/share/aclocal/README || die
rmdir "${D}"/usr/share/aclocal || die