diff options
author | Marty E. Plummer <hanetzer@startmail.com> | 2018-04-27 12:26:39 -0500 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2018-04-27 18:11:14 -0400 |
commit | fd40ac78005fbc99905dbb01968c04780a3e81b4 (patch) | |
tree | 70f195d8586c0b6e1456c7b0cf6e6af3b61af26e /sys-apps/elfix | |
parent | dev-python/pypax: git-2->git-r3, git://->https:// (diff) | |
download | gentoo-fd40ac78005fbc99905dbb01968c04780a3e81b4.tar.gz gentoo-fd40ac78005fbc99905dbb01968c04780a3e81b4.tar.bz2 gentoo-fd40ac78005fbc99905dbb01968c04780a3e81b4.zip |
sys-apps/elfix: git-2->git-r3, git://->https://
Also eutils is unneeded, autotools is only needed on live ebuilds.
Go ahead and bump to EAPI=6.
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'sys-apps/elfix')
-rw-r--r-- | sys-apps/elfix/elfix-0.9.2.ebuild | 25 | ||||
-rw-r--r-- | sys-apps/elfix/elfix-9999.ebuild | 25 |
2 files changed, 24 insertions, 26 deletions
diff --git a/sys-apps/elfix/elfix-0.9.2.ebuild b/sys-apps/elfix/elfix-0.9.2.ebuild index 11349cf6d6f6..2bc81bd6ca54 100644 --- a/sys-apps/elfix/elfix-0.9.2.ebuild +++ b/sys-apps/elfix/elfix-0.9.2.ebuild @@ -1,13 +1,11 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="5" +EAPI=6 -inherit eutils - -if [[ ${PV} == "9999" ]] ; then - EGIT_REPO_URI="git://anongit.gentoo.org/proj/elfix.git" - inherit git-2 +if [[ ${PV} == *9999* ]] ; then + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/elfix.git" + inherit autotools git-r3 else SRC_URI="https://dev.gentoo.org/~blueness/elfix/${P}.tar.gz" KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86" @@ -21,6 +19,8 @@ LICENSE="GPL-3" SLOT="0" IUSE="+ptpax +xtpax" +DOCS=( AUTHORS ChangeLog INSTALL README THANKS TODO ) + REQUIRED_USE="|| ( ptpax xtpax )" # These only work with a properly configured PaX kernel @@ -33,7 +33,11 @@ DEPEND="~dev-python/pypax-${PV}[ptpax=,xtpax=] RDEPEND="${DEPEND}" src_prepare() { - [[ ${PV} == "9999" ]] && ./autogen.sh + default + if [[ ${PV} == *9999* ]]; then + eautoreconf + cd doc && ./make.sh || die + fi } src_configure() { @@ -42,8 +46,3 @@ src_configure() { $(use_enable ptpax) \ $(use_enable xtpax) } - -src_install() { - emake DESTDIR="${D}" install - dodoc AUTHORS ChangeLog INSTALL README THANKS TODO -} diff --git a/sys-apps/elfix/elfix-9999.ebuild b/sys-apps/elfix/elfix-9999.ebuild index 9e35e46644dc..0eaa5ebdfecf 100644 --- a/sys-apps/elfix/elfix-9999.ebuild +++ b/sys-apps/elfix/elfix-9999.ebuild @@ -1,13 +1,11 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="5" +EAPI=6 -inherit eutils - -if [[ ${PV} == "9999" ]] ; then - EGIT_REPO_URI="git://anongit.gentoo.org/proj/elfix.git" - inherit git-2 +if [[ ${PV} == *9999* ]] ; then + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/elfix.git" + inherit autotools git-r3 else SRC_URI="https://dev.gentoo.org/~blueness/elfix/${P}.tar.gz" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" @@ -21,6 +19,8 @@ LICENSE="GPL-3" SLOT="0" IUSE="+ptpax +xtpax" +DOCS=( AUTHORS ChangeLog INSTALL README.md THANKS TODO ) + REQUIRED_USE="|| ( ptpax xtpax )" # These only work with a properly configured PaX kernel @@ -33,7 +33,11 @@ DEPEND="~dev-python/pypax-${PV}[ptpax=,xtpax=] RDEPEND="${DEPEND}" src_prepare() { - [[ ${PV} == "9999" ]] && ./autogen.sh + default + if [[ ${PV} == *9999* ]]; then + eautoreconf + cd doc && ./make.sh || die + fi } src_configure() { @@ -42,8 +46,3 @@ src_configure() { $(use_enable ptpax) \ $(use_enable xtpax) } - -src_install() { - emake DESTDIR="${D}" install - dodoc AUTHORS ChangeLog INSTALL README THANKS TODO -} |