diff options
author | Benda Xu <heroxbd@gentoo.org> | 2016-05-19 11:56:36 +0900 |
---|---|---|
committer | Benda Xu <heroxbd@gentoo.org> | 2016-05-19 11:57:15 +0900 |
commit | 3b1ee209046b554b13e61e6f6056c2b072d5d684 (patch) | |
tree | d0f12de2616456389f0a22e9d750e3ba10e98ea6 /sys-devel/automake/automake-1.15.ebuild | |
parent | sys-apps/miller: new package, initial vn. 4.0.0 (diff) | |
download | gentoo-3b1ee209046b554b13e61e6f6056c2b072d5d684.tar.gz gentoo-3b1ee209046b554b13e61e6f6056c2b072d5d684.tar.bz2 gentoo-3b1ee209046b554b13e61e6f6056c2b072d5d684.zip |
sys-devel/automake: bump to EAPI5. Rework APIVERSION and pkgvdatadir.
Patch configure to leverage defaults of src_compile and src_install.
pkgvdatadir now implicitly respects EPREFIX.
Bug: 582734
Package-Manager: portage-2.2.28
Diffstat (limited to 'sys-devel/automake/automake-1.15.ebuild')
-rw-r--r-- | sys-devel/automake/automake-1.15.ebuild | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/sys-devel/automake/automake-1.15.ebuild b/sys-devel/automake/automake-1.15.ebuild index bf80fd99e37f..ffc58058a78d 100644 --- a/sys-devel/automake/automake-1.15.ebuild +++ b/sys-devel/automake/automake-1.15.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 @@ -38,16 +38,13 @@ S="${WORKDIR}/${MY_P}" src_prepare() { export WANT_AUTOCONF=2.5 + 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 } @@ -82,13 +79,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 |