diff options
Diffstat (limited to 'sys-devel/automake/automake-1.15-r2.ebuild')
-rw-r--r-- | sys-devel/automake/automake-1.15-r2.ebuild | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/sys-devel/automake/automake-1.15-r2.ebuild b/sys-devel/automake/automake-1.15-r2.ebuild index 754d52c1f867..24668c53d485 100644 --- a/sys-devel/automake/automake-1.15-r2.ebuild +++ b/sys-devel/automake/automake-1.15-r2.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI="4" +EAPI="5" inherit eutils versionator @@ -40,16 +40,13 @@ src_prepare() { export WANT_AUTOCONF=2.5 epatch "${FILESDIR}"/${PN}-1.15-perl-escape-curly-bracket.patch epatch "${FILESDIR}"/${PN}-1.15-mdate-tz.patch #520818 #574492 + sed -i -e "/APIVERSION=/s:=.*:=${SLOT}:" configure || die } src_configure() { econf --docdir="\$(datarootdir)/doc/${PF}" } -src_compile() { - emake APIVERSION="${SLOT}" pkgvdatadir="/usr/share/${PN}-${SLOT}" -} - src_test() { emake check } @@ -84,13 +81,11 @@ slot_info_pages() { } src_install() { - emake DESTDIR="${D}" install \ - APIVERSION="${SLOT}" pkgvdatadir="/usr/share/${PN}-${SLOT}" + default + slot_info_pages rm "${ED}"/usr/share/aclocal/README || die rmdir "${ED}"/usr/share/aclocal || die - dodoc AUTHORS ChangeLog NEWS README THANKS - rm \ "${ED}"/usr/bin/{aclocal,automake} \ "${ED}"/usr/share/man/man1/{aclocal,automake}.1 || die |